Commit 0790259
committed
fix: stop click propagation on attribute modal option selection
Clicking an option in the Select Attribute modal was bubbling up
to the parent BrowserWindow div's handleClick handler, which could
re-trigger element selection logic and require a second click to
actually close the modal.
Adding e.stopPropagation() to the button's onClick prevents the
event from reaching the parent handler.
Fixes #6231 parent 29a0dad commit 0790259
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1647 | 1647 | | |
1648 | 1648 | | |
1649 | 1649 | | |
1650 | | - | |
| 1650 | + | |
| 1651 | + | |
1651 | 1652 | | |
1652 | 1653 | | |
1653 | 1654 | | |
| |||
0 commit comments