rubber icon indicating copy to clipboard operation
rubber copied to clipboard

Cannot collapse sheet with keyboard open

Open joachimbulow opened this issue 1 year ago • 0 comments

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.

joachimbulow avatar Jul 31 '23 14:07 joachimbulow