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.
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 thisthe sheet collapses as normalHas anyone encountered this?
Could be we have something else causing this behaviour.