facebookarchive / react-page

Easy Application Development with React JavaScript
Apache License 2.0
797 stars 72 forks source link

Doesn't work on modern Firefox #48

Open sergi opened 10 years ago

sergi commented 10 years ago

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

ssorallen commented 10 years ago

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