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

setAdjustNothing - keyboardDidHide event not firing #20

Open
Noitidart opened this issue Mar 23, 2018 · 1 comment
Open

setAdjustNothing - keyboardDidHide event not firing #20

Noitidart opened this issue Mar 23, 2018 · 1 comment

Comments

@Noitidart
Copy link

I am setting to adjust nothing, then add event listener, but it doesnt seem to fire:

                            AndroidKeyboardAdjust.setAdjustNothing();
                            console.log('added keyboard hide listener');
                            Keyboard.addListener('keyboardDidHide', () => console.log('hid'));

The docs say that keyboardDidHide should fire when in adjustNothing mode - https://facebook.github.io/react-native/docs/keyboard.html#addlistener

Note that if you set android:windowSoftInputMode to adjustResize or adjustNothing, only keyboardDidShow and keyboardDidHide events will be available on Android.

Do you think this is an issue with this module? Or maybe issue in docs?

@k-grant
Copy link

k-grant commented Oct 24, 2018

This seems to be an issue with this module, I experienced this behavior only after installing it.

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