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

[react-native-drawer-layout] Incorrect position of the nested drawer #11692

Open
4 of 11 tasks
szado opened this issue Nov 9, 2023 · 1 comment
Open
4 of 11 tasks

[react-native-drawer-layout] Incorrect position of the nested drawer #11692

szado opened this issue Nov 9, 2023 · 1 comment

Comments

@szado
Copy link

szado commented Nov 9, 2023

Current behavior

When two drawers are nested, the second one has wrong position and covers the page content. The problem probably appeared in react-native-drawer-layout@4.0.0-alpha.0 and it's the result of different way of calculating the offset (8309636#diff-d8389a2ab575c3d3550f93d811fc71c0b4dd7bd087b457f6cdac5e9ae54daa8aL545).

Expected behavior

The screen content should be visible when drawer is closed.

Reproduction

https://snack.expo.dev/@szado/invalid-nested-drawer-position

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-tab-view

Environment

  • [] I've removed the packages that I don't use
package version
expo 49.0.0
@szado szado added the bug label Nov 9, 2023
Copy link

github-actions bot commented Nov 9, 2023

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/native
  • @react-navigation/drawer

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant