Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Doesn't work on modern Firefox #48

Open
sergi opened this issue Jan 3, 2014 · 1 comment
Open

Doesn't work on modern Firefox #48

sergi opened this issue Jan 3, 2014 · 1 comment

Comments

@sergi
Copy link

sergi commented Jan 3, 2014

The default page doesn't work properly on Firefox. The VectorWidget functionality (spinning and spinning faster when clicked) is not there.

@ssorallen
Copy link

The transform styles are prefixed with -webkit right now[1], but the solution isn't as simple as adding the unprefixed versions. I tried that and found out that Firefox 26.0 does not support percentages for transform-origin, which means the code needs to be changed to offset the rotation without using percentages.

[1] https://github.com/facebook/react-page/blob/master/src/elements/VectorWidget/VectorWidget.js#L81

zpao added a commit that referenced this issue Jan 12, 2014
See http://facebook.github.io/react/tips/inline-styles.html

This also adds in the non-prefixed styles to make Firefox work but
commented out since there are issues with SVG and transform-origin.
See #48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants