Skip to content
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

[Android] View bounds incorrect after rotate transform #6734

Closed
marcshilling opened this issue Mar 30, 2016 · 3 comments
Closed

[Android] View bounds incorrect after rotate transform #6734

marcshilling opened this issue Mar 30, 2016 · 3 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@marcshilling
Copy link

Android only...works on iOS...React Native 0.22...

Check out this screenshot:

I've applied a transform: [{rotate: '-45deg'}] style to the green view. As you can see, the rotation is rendered correctly, but upon using the inspector you can see the bounds are incorrect. I noticed this after rotating some Touchable views and being unable to tap on parts of the view afterwards, so the issue is not isolated to the inspector.

Seems like a bug, but does anyone know of a workaround?

@charpeni
Copy link
Contributor

@facebook-github-bot label android

@facebook-github-bot facebook-github-bot added Android Ran Commands One of our bots successfully processed a command. labels Mar 31, 2016
@marcshilling
Copy link
Author

marcshilling commented Apr 29, 2016

Android label should be removed, now seeing this on certain iOS devices as well...
Oddly, just a 6s and a 6s Plus are having this issue.

@lacker
Copy link
Contributor

lacker commented Oct 21, 2016

I'm not sure how to reproduce this based on just this screen shot - I think a sample on rnplay.org would be ideal. Since it's been a while I'm just going to close this issue, but feel free to open a new one if you have a small repro app.

@lacker lacker closed this as completed Oct 21, 2016
@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants