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

fix: keyboardHeight calc error when keyboard is shown at the first time #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chj-damon
Copy link

we don't need to depend on useKeyboard from react-native-community/hooks since we only want the keyboard height when keyboard displays. we can do that naturally in the keyboardDidShow event.

@wtlyu
Copy link

wtlyu commented Mar 3, 2022

This fix helps me a lot. Thank you.

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

Successfully merging this pull request may close these issues.

2 participants