Open zainkhas opened 3 weeks ago
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
@react-navigation/drawer
(found: 6.1.8
, latest: 6.6.15
)@react-navigation/native
(found: 6.0.8
, latest: 6.1.17
)@react-navigation/bottom-tabs
(found: 6.2.0
, latest: 6.5.20
)@react-navigation/stack
(found: 6.0.11
, latest: 6.3.29
)react-native-tab-view
(found: 3.3.0
, latest: 3.5.2
)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
Updated the Snack with latest versions (only relevant to this snack) https://snack.expo.dev/2a2vJVk0Ybk7pz6pxWTCi
But unfortunately, the issue still exists.
Probably related: https://github.com/react-navigation/react-navigation/issues/11692
Current behavior
The position of drawer using react-navigation with Expo 49 is not correct when drawerType is slide. In Android & iOS the drawer is not visible at all and on Web it shows up in middle of the screen. It is caused by the CSS transform property having invalid value.
Dependencies versions: "expo": "^49.0.0" "react-native-web": "0.17.7" "@react-navigation/drawer": "^6.1.8" "@react-navigation/native": "^6.0.8" "react-native-web": "~0.19.6" "react-native-safe-area-context": "4.6.3" "react-native-reanimated": "~3.3.0"
Expected behavior
The drawer should be at the correct position in the viewport, depending on the drawerPosition and drawerType.
Reproduction
https://snack.expo.dev/@zainkhas/react-native-web---drawer-issue
Platform
Packages
Environment