react-native-orientation-locker icon indicating copy to clipboard operation
react-native-orientation-locker copied to clipboard

Orientation change is not smooth and dimensions are not set correctly on changing orientation to certain mode in iOS

Open SAHITYASAI opened this issue 6 years ago • 2 comments

Actual Behaviour:

I'm loading a dynamic form in a SectionList. I am supposed to implement signature capture in landscape mode by navigating to another screen on button press and come back to forms screen on submitting the captured signature. To achieve this, i have used this module along with react-native-signature-capture module. Orientation changes are very slow and hence looks like a bug while navigating from forms screen to signature screen. I'm using react-navigation for navigating between screens. Also, dimensions are not set correctly on coming back to forms screen in portrait mode after implementing signature capture in landscape mode.

Expected Behaviour:

I need to implement signature capturing in another screen in landscape mode, pop back to forms screen and again change orientation back to portrait mode in iOS smoothly without any issues with setting dimension values. Can someone help me please. Thanks in advance.

Environment:

react-native: 0.61.1 react-native-orientation-locker: ^1.1.7

SAHITYASAI avatar Dec 02 '19 10:12 SAHITYASAI

I get the same behavior using:

react-native: 0.61.5 react-navigation: ^4.1.0 react-native-orientation-locker: ^1.1.8

@SAHITYASAI you get this resolved?

lucianomlima avatar Apr 27 '20 23:04 lucianomlima

experiencing same issue, if app is started from landscape mode orientation while orientation locker locking to portrait, the dimensions returned are inverted...

noumantahir avatar May 27 '22 15:05 noumantahir