-
Notifications
You must be signed in to change notification settings - Fork 47.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-o-transform / oTransform not updating in Opera #2487
Comments
This isn't super well documented, but you need to use Read more: http://www.andismith.com/blog/2012/02/modernizr-prefixed/ Also, fwiw, latest Opera is now built on blink. Did they maintain the |
Maybe we can warn for this. |
OTranform fixed the hyphens, but not the issue, However: the style object still does not update.. It does update, just not the transform. So height, width etc. are updated. I start with: #1 And for some reason, after updating height or width in the style object i'm left with: #2
And weirdly, when I'm actually updating the transform, it stays like #1, as if I didn't update the style object, but when the height or width change, it does change, and I'm left with #2 This is ONLY on Opera, so the object stays intact/correct like #1 with updated |
I think there might be some bug in the diff algorithm? on Opera? Also translateX with capital X doesn't help |
Fixes facebook#2487. Test Plan: jest
-o-transform is not working in opera somehow, when put into style as object, in Chrome, FF and IE10 this works fine, it's the latest Oprea.
I give each element:
And rotate the deg programmatically (
var transform = rotate( 45deg )
)When I inspect the element in Opera dev tools I see all cross-platform tranforms applied to style (-ms, moz etc), while in Chrome only ones with -webkit and without are actually applied.
And another strange thing, the
-o-transform
, is actuallyo-transform
, so without leading hyphen. But worse of all, the rotate value I change/animate, don't change at all, I see the code running through the console, but it just doesn't update the style object..The text was updated successfully, but these errors were encountered: