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

QMenu with auto-close stops QItem / QCheckbox working correctly #17735

Open
dsl101 opened this issue Jan 7, 2025 · 0 comments
Open

QMenu with auto-close stops QItem / QCheckbox working correctly #17735

dsl101 opened this issue Jan 7, 2025 · 0 comments
Labels

Comments

@dsl101
Copy link
Contributor

dsl101 commented Jan 7, 2025

What happened?

A QMenu with auto-close set does not functions correctly when the menu contains a QItem / QCheckbox combination as described here.

What did you expect to happen?

The checkbox model would be updated when clicking either the checkbox or item, and the menu would be closed.

Reproduction URL

https://codepen.io/dsl101/pen/bNbeeGm?editors=1010

How to reproduce?

  1. Open the settings menu without auto-close—clicking the item or checkbox updates the model value correctly
  2. Enable auto-close
  3. Clicking the QCheckbox now updates the model but does not close the menu
  4. Clicking the QItem closes the menu, but does not update the model

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar), Directives (quasar)

Platforms/Browsers

Firefox

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@dsl101 dsl101 added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant