You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In upgrading to 0.6.0-alpha, I noticed (what I think is) a regression around percentage-based radii. Simply put, if one of the nodes passed to the transform function has a border-radius with a percentage in it, ramjet barfs with the following error.
Howdy! First and foremost, thanks for building + maintaining this library! It's been an invaluable asset to my open-source lib, https://github.com/mattrothenberg/vue-overdrive.
In upgrading to
0.6.0-alpha
, I noticed (what I think is) a regression around percentage-based radii. Simply put, if one of the nodes passed to thetransform
function has a border-radius with a percentage in it, ramjet barfs with the following error.Upon closer inspection, it seems like the following line might be the culprit. https://github.com/Rich-Harris/ramjet/blob/master/src/utils/parseBorderRadius.js#L1
I figured you might have better context than myself as to what might have changed between versions.
I've set up a Codepen that reproduces the error.
Demo: https://streamable.com/sphja
Link: https://codepen.io/mattrothenberg/pen/MZbdNx?editors=0111
❤️
The text was updated successfully, but these errors were encountered: