mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 14:00:37 +00:00
🐛 Fix collapsing token set groups after reordering
The handler captured the first render path, and the tree is keyed by index, so after a reorder it toggled the path of another group. Closes #12625 AI-assisted-by: deepseek-v4.1-flash
This commit is contained in:
parent
4d416bd3f2
commit
9fc23d13ce
@ -134,6 +134,7 @@
|
||||
|
||||
on-collapse-click
|
||||
(mf/use-fn
|
||||
(mf/deps path on-toggle-collapse)
|
||||
(fn [event]
|
||||
(dom/prevent-default event)
|
||||
(dom/stop-propagation event)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user