-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: inputs above sheet modals cannot be focused #24581
Comments
Thanks for the issue. Can you try the following dev build and let me know if it resolves the issue?
|
Thx for working on it 👍 |
Can you try testing in a non-StackBlitz application? I had to download and run the project locally in order for the dev build to be installed correctly. The issue still happens on the StackBlitz but does not happen on the local project. |
ok, will try it locally this evening |
Nice, it works 👍 |
Thanks for the issue. This has been resolved via #24840, and a fix will be available in an upcoming release of Ionic Framework. Thanks for testing! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prerequisites
Ionic Framework Version
Current Behavior
Inputs in the visible area above a sheet modal cannot be used because of the modal's focus trap.
Expected Behavior
The really nice new Sheet Modal provides the option to keep the not blocked part of the app interactive as described in the docs "This is useful when creating interfaces that have content underneath the sheet that should remain interactive.".
In this context, it should be possible to focus input elements outside the modal to ensure the real interactivity of the page.
Steps to Reproduce
Code Reproduction URL
https://stackblitz.com/edit/angular-ivy-itpjej
Ionic Info
No response
Additional Information
The use case is a google maps like experience with a sheet modal and a searchbar at the top of the page:
The text was updated successfully, but these errors were encountered: