Skip to content

[Android] View bounds incorrect after rotate transform #6734

Closed
@marcshilling

Description

@marcshilling

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions