Skip to content

useKeyboard keyboardShown wrong value #400

Open
@Ainias

Description

@Ainias

When a component uses useKeyboard() and this component is mounted while the keyboard is open, useKeyboard().keyboardShown returns false.

The background is we have a sticky button at the bottom on multiple screens. This button should not be displayed when the keyboard is open, since it takes away too much space. In one of those screens we only show the button after an text-input is made. At this point the keyboard is open and the button is shown because of the error above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions