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

Cannot collapse sheet with keyboard open #74

Open
joachimbulow opened this issue Jul 31, 2023 · 0 comments
Open

Cannot collapse sheet with keyboard open #74

joachimbulow opened this issue Jul 31, 2023 · 0 comments

Comments

@joachimbulow
Copy link

joachimbulow commented Jul 31, 2023

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.

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

1 participant