react-native-paper-dates icon indicating copy to clipboard operation
react-native-paper-dates copied to clipboard

Jumpy modal on notch devices

Open kations opened this issue 3 years ago • 2 comments

Hi, on notch devices the safe area is jumping on initial render.

Have a look at: https://user-images.githubusercontent.com/6721322/111995957-d5a90800-8b19-11eb-91a0-a1cd1e5e3379.mov

would be great to calculate padding top upfront. Great work so far 👍🏻

kations avatar Mar 22 '21 13:03 kations

Strange, React Native default handling of the safe area sucks I'll try to see if I can fix this but short on time a.t.m. PR is welcome!

RichardLindhout avatar Mar 22 '21 18:03 RichardLindhout

Looks like it only happening with the range picker and somehow the height is changing while the modal opens. I suspect the SafeAreaView. But on the other hand no problems with the single picker so it's a strange problem

RichardLindhout avatar Apr 07 '21 20:04 RichardLindhout

This is fixed with safe-area-context in new version :)

RichardLindhout avatar Dec 17 '22 10:12 RichardLindhout