Build a simple Android app with unlocked orientation (that is, allow all orientations).Provide a detailed list of steps that reproduce the issue. Watchman: 4.9.0 - /usr/local/bin/watchman info Fetching system and libraries information.ĬPU: (4) 圆4 Intel(R) Core(TM) i5-6267U CPU 2.90GHz Run react-native info in your terminal and copy the results here. I will be linking this issue there as well. I can’t tell yet whether this was caused by an upgrade in the WebView library or react native itself. Note that the actual UI still works as expected (rotates/adjusts), but the Dimensions API just completely breaks.Īfter testing for a couple of hours, the bug seems to happen after a WebView is loaded (with ). I can’t figure out exactly what triggers the issue, but after the event listener stops firing, calling get will also return incorrect values (e.g., portrait values even if in landscape). Using Dimensions.get('window') and Dimensions.addEventListener(.) stops working/firing events randomly after a while. Issues that do not follow this format are likely to stall. Please provide all the information requested.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |