useWindowDimensions doesn't update when rotating the screen on an open alert #41375
Labels
API: Alert
API: Dimensions
Needs: Triage 🔍
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
When rotating the screen on an open alert, the
useWindowDimensions
hook doesn't update.Happens on both iOS and Android.
React Native Version
0.72.6
Output of
npx react-native info
Steps to reproduce
=> The useWindowDimensions hook still returns portrait mode info
Snack, screenshot, or link to a repository
iphone.mp4
https://snack.expo.dev/@robrechtme/usewindowdimensions-bug
The text was updated successfully, but these errors were encountered: