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
but you know, when somebody use react-native-web, like me, hope detect the device type when resize window. so, a function, check current screen/window size , maybe better than now, only check once when init the library.
The text was updated successfully, but these errors were encountered:
Even in react-native, if the device changes orientation, width and height do not update. Dimensions have an addEventListener method that fires every time a property of "window" or "screen" changes. It could be used to guarantee that width and height are always correct.
hi @m0ngr31 thanks for your great work.
but you know, when somebody use
react-native-web
, like me, hope detect the device type when resize window. so, a function, check current screen/window size , maybe better than now, only check once when init the library.The text was updated successfully, but these errors were encountered: