Skip to content

Cannot collapse sheet with keyboard open #74

@joachimbulow

Description

@joachimbulow

Describe the bug
If the keyboard is open (tested on iOS and Android physical devices), the sheet will not react to rubberSheetController.collapse();

To Reproduce
Create a text field and a button inside a sheetUpperLayer, upon pressing the button (onTap) collapse the sheet.

Now start typing into the text field and press the button.

Expected behavior
The sheet should collapse as normal.

Additional context
If we add await Future.delayed(Duration(milliseconds: 1)); // For some reason the rubber sheet does not collapse without this the sheet collapses as normal

Has anyone encountered this?
Could be we have something else causing this behaviour.

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