Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SafeAreaView #40

Open
itsam opened this issue May 26, 2019 · 3 comments
Open

SafeAreaView #40

itsam opened this issue May 26, 2019 · 3 comments

Comments

@itsam
Copy link

itsam commented May 26, 2019

Issue details

Using <SafeAreaView> displays just a white empty screen

Steps to reproduce

Embracing <ParallaxScroll> in <SafeAreaView> causes white screen

Please specify which versions of the RN and ParallaxScroll

  • react-native 0.59.6
  • react-native-parallax-scroll 1.8.0

Affected platforms

  • iOS
@paschaldev
Copy link

+1

@itsam
Copy link
Author

itsam commented May 31, 2019

A workaround, at least for the bottom space, is to use react-native-iphone-x-helper and do the following:

import { getBottomSpace } from "react-native-iphone-x-helper";
<ParallaxScroll
        style={{ flex: 1, marginBottom: getBottomSpace() }}
/>

Still, would be better if <SafeAreaView> worked as expected

@paschaldev
Copy link

Thanks for this... How about on orientation change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants