You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi , useWindowDimensions hook is triggering reversed dimensions in ipad when i change orientation. for portrait width of landscape is shown and vice versa.
This one is fixed right , still I was calling const { width } = Dimensions.get('window') on expo orientation change ,, Which gives the same wrong width.
Description
Hi , useWindowDimensions hook is triggering reversed dimensions in ipad when i change orientation. for portrait width of landscape is shown and vice versa.
Steps to reproduce
just run below code in ipad simulator
React Native Version
0.76.7
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/@adjmpw/incorrect-usewindowdimensions
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: