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

Bottom Offset applies to other iphones as well. #1073

Closed
nandiniparimi1107 opened this issue Jan 8, 2019 · 2 comments
Closed

Bottom Offset applies to other iphones as well. #1073

nandiniparimi1107 opened this issue Jan 8, 2019 · 2 comments
Labels

Comments

@nandiniparimi1107
Copy link
Contributor

Issue Description

If we wrap giftedchat component in safeAreaView , it adds a space between keyboard and inputtoolbar on keyboard open.

To solve this issue if we add bottomOffset the bottomOffset also applies to other iphones( i.e., iphone 7 etc).

How do we add bottomOffset only if its iphone X?

@tehwayne
Copy link

you can use a library like https://github.com/ptelad/react-native-iphone-x-helper#readme to code behavior for the offset

@stale
Copy link

stale bot commented Mar 31, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 31, 2019
@stale stale bot closed this as completed Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants