Yeah if the device is hold in portrait position everything seems to be working fine.
But if holding in landscape position & screen orientation is set to portrait, flipping behaviour of next screen is observed as you mentioned.
Device Auto Rotation Property was also locked.
Tested on Redmi Note 7 (Android 10)