react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.65k stars 5.05k forks source link

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

Open szado opened 1 year ago

szado commented 1 year ago

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 (https://github.com/react-navigation/react-navigation/commit/830963653fb5a489d02f1503222629373319b39e#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

Packages

Environment

package version
expo 49.0.0
github-actions[bot] commented 1 year ago

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

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