Skip to content

setAdjustNothing - keyboardDidHide event not firing #20

Open
@Noitidart

Description

@Noitidart

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions