QTree expandAll duplicating expanded nodes #15764
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/umd
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
QTree expandAll method duplicating expanded nodes in expanded array.
issue seems to be in the expandAll function. the const expanded is being set to the current expanded array with each expandable node being added to the array.
currently have to run collapseAll before expandAll to clear out the expanded array
What did you expect to happen?
nodes to be referenced once in the expanded array
Reproduction URL
https://codepen.io/seamus-ohhhh/pen/Rwegaqg?editors=1010
How to reproduce?
Flavour
UMD
Areas
Components (quasar)
Platforms/Browsers
Firefox, Chrome, Safari, Microsoft Edge, iOS, Android, Electron, Other
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: