-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/componentsbug/1-hard-to-reproduceA reproduction is available, but it's hard to reproduce, so it has a lower priority.A reproduction is available, but it's hard to reproduce, so it has a lower priority.bug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-vitekind/bug 🐞
Description
What happened?
QSelect with behavior="dialog" doesn't open the selection dialog after returning back to keep-alive page where it was placed
What did you expect to happen?
Pressing the back button should close the selection dialog without triggering the back navigation
-- OR --
Pressing the back button should correctly close the selection dialog
Reproduction URL
https://codesandbox.io/p/devbox/young-tree-2z9h4p
How to reproduce?
- Navigate to page with the QSelect component. The page should be included in keep-alive component.
- Click the QSelect component to open the selection dialog. The dialog will be opened.
- Don't select any item, just press the back button. The dialog will be closed and you'll be taken back to the previous page.
- Navigate to page with the QSelect component again.
- Click the QSelect component. The selection dialog won't open.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
It seems that pressing the back button while the select dialog is open doesn't close it properly, because the empty dialog portal still exists in dom.
Metadata
Metadata
Assignees
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/componentsbug/1-hard-to-reproduceA reproduction is available, but it's hard to reproduce, so it has a lower priority.A reproduction is available, but it's hard to reproduce, so it has a lower priority.bug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-vitekind/bug 🐞
