`rotate`s do not appear to work.
See original GitHub issueI’ve tried making the simplest example with rotate
and can’t get to the bottom of why it’s not working.
rotate
* types expect a number, though I’m not sure what that number maps to. Degrees? Radians?
<Motion.View
animate={{ rotate: 90 }}
initial={{ rotate: 0 }}
transition={{
type: "timing",
duration: 2000
}}
style={{ borderWidth: 1, height: 50, width: 50 }}
/>
Results in a box that just sits there, statically. I can verify that other transforms, like x
and y
work, but not any of the rotations.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Fix Auto Rotate Not Working on Android
Launch the Settings app on your Android phone. · Tap Display in the list of items. · Turn on the option that says...
Read more >7 ways to fix Android screen rotation not working - Carlcare
Find and turn on the "Auto-rotate" tile in the quick-setting panel. You can also go to Settings > Display > Auto-rotate screen to...
Read more >How to Fix It When Android Screen Won't Rotate - Lifewire
When troubleshooting an Android screen that won't rotate when you turn the phone sideways, look for the most common root cause.
Read more >My Android Won't Auto-Rotate - What to Do - Technipages
Another reason why your Android device is not auto rotating is either because the G-sensor or the accelerometer is malfunctioning. First, run some...
Read more >How to Fix- Auto Rotate Not Working on Android Phone!
This video will show you the best ways to fix screen rotation not working on any Android Phone. Though we have used a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for the quick responses. It is appreciated!
Yes,
skew
s should also be fixed by that change too. I just released a 2.1.9 that fixes the types forskew
s.