Skip to content

borderOpacity and borderWidth Handle Zero Values Incorrectly #95

Closed
Undistraction opened this Issue Nov 6, 2013 · 2 comments

3 participants

@Undistraction

Setting borderWidth: 0 does not remove the border, however setting borderWidth:0.01 does.

Setting borderOpacity:0 does not hide the border, however setting borderOpacity:0.01 does.

In both cases it looks like some kind of rounding error.

Checked in Chrome, FFox and Safari on OSX

@jenlampton

Did you try using null instead of zero? I noticed that in the examples.

@manifestinteractive

Setting to null should solve this for you. This is a bug with SVG as setting zero still technically sets a border.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.