web-ridge / react-native-paper-dates

Smooth and fast cross platform Material Design date and time picker for React Native Paper
https://www.reactnativepaperdates.com
MIT License
640 stars 164 forks source link

Content of date picker modal is in StatusBar on iOS #258

Closed vlkpa closed 1 year ago

vlkpa commented 1 year ago

Content of date picker modal is in StatusBar. This line StatusBar.currentHeight is null on iOS. Maybe something like this hook could be better for getting status bar height

iM-GeeKy commented 1 year ago

PRs are welcome!

lelimit commented 1 year ago

image

RichardLindhout commented 1 year ago

We should use the useSafeareaInsets from react-native-safe-area-context

github-actions[bot] commented 1 year ago

Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository.

RichardLindhout commented 1 year ago

Will be fixed in next release!