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
QTree: Focus problem regarding nodes with shared keys #15328
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
Comments
github-actions
bot
added
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
labels
Jan 26, 2023
15 tasks
amal-qb
added a commit
to qburst/quasar
that referenced
this issue
Feb 15, 2023
Merged
15 tasks
amal-qb
added a commit
to qburst/quasar
that referenced
this issue
Feb 15, 2023
…cus-problem-for-nodes-with-shared-keys fix(ui): Remove focus for nodes that have "selectable" set to "false" (fix: quasarframework#15328)
15 tasks
You have more problems with the duplicate keys approach than the refocusing:
You can map your tree to have unique keys |
rstoenescu
pushed a commit
that referenced
this issue
Feb 28, 2023
rstoenescu
added a commit
that referenced
this issue
Feb 28, 2023
Fix will be available in Quasar v2.11.7 |
rstoenescu
pushed a commit
that referenced
this issue
Feb 28, 2023
rstoenescu
added a commit
that referenced
this issue
Feb 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When using the QTree component and having a list of nodes where some of the keys which are leafs in different subtrees share their key (which is mandatory for our application):
Changing the node with the shared key to
selectable: false
makes no difference regarding the focus behavior.What did you expect to happen?
Changing the node with the shared key to
selectable: false
should deactivate the focus action so one can implement an own behavior viahandler: () => void
at the node.Reproduction URL
https://codepen.io/gbalthasar/pen/WNKJgda
How to reproduce?
Click on the first node with the label 'Good table presentation' and it will scroll you down to the second node with this key.
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Firefox, Chrome, Safari, Microsoft Edge
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: