-
Notifications
You must be signed in to change notification settings - Fork 24k
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
Layout inspector shows wrong frames when using DrawerLayoutAndroid
#44425
Comments
|
The same happens to me with custom overflow buttons using Reanimated that open a selection. These buttons a pressable in the position the would be, if opened, even in closed state. Also happens only on Android with new Architecture. Happy to open another issue, if you think this is unrelated. |
I have PR #44707 to fix this issue from JS Side. The reason this type of issue surfacing in New Architecture is that @DrZoidberg09 issue can be solved with same approach by setting appropriate To go more in-depth around this, this is a good PR #44327 to reference. |
@realsoelynn Awesome! That did the trick. Thanks! |
Good! Let's close this issue as soon as #44707 lands, what do you think? |
PR is merged. I am closing this issue. |
Description
When using the layout inspector alongside
DrawerLayoutAndroid
, the drawer content is always selectable, even if the drawer is closed. It's also always positioned as if the drawer is on the left.Steps to reproduce
React Native Version
0.75.0
Affected Platforms
Runtime - Android
Areas
Fabric - The New Renderer
Output of
npx react-native info
Reproducer
https://snack.expo.dev/@jpiasecki/drawer-android-inspector-bug
Screenshots and Videos
bad_left.mov
bad_right.mov
The text was updated successfully, but these errors were encountered: