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

Drag to dismiss bottom sheet: Some gesture Not working with a keyboard open #362

Open
mazzonem opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working in triage

Comments

@mazzonem
Copy link

Bug report

Describe the bug
A clear and concise description of what the bug is. If applicable, please add screenshots/videos.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open a bottom sheet page that contains a texfield
  2. autofocus or focus on the textfield
  3. slide down the bottom sheet to close but lift your finger only when above the open keyboard

Expected behavior

The bottom sheet should close. At the moment the sheet collapsed but stays opened (the keyboard is still visible).
onModalDismissedWithDrag is not called.


Additional context

My guess is that onModalDismissedWithDrag is only called when lifting the finger, but it's not registered when above the opened keyboard.


@mazzonem mazzonem added bug Something isn't working in triage labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

1 participant