How do you properly rotate the view when the screen orientation changes in React Native?
I'm trying to display two different tables. One in landscape mode, and one in portrait mode. The tables change appropriately but the view doesn't rotate.
When I try to use different combinations of transform: rotate and manually setting the height/width it produces less than desirable results.
The bottom drawer navigator is also staying in the original spot on the bottom of the phone. This makes me think that I'm going about this wrong.
Any help or a point in the right direction would be much appreciated as my Google Fu is currently failing me.
question from:https://stackoverflow.com/questions/65649937/react-native-how-to-rotate-view-properly-on-orientation-change