Commit 794ab72
authored
Fix text selection issues in chrome (#425)
Chrome's default selection behavior when pressing the shift key
messes with styles/selection hightlighting in the diagram
By setting user-select:none for the diagram svg we can fix this issue.
Default html text selection does not work for svg text elements anyways,
so this change does not break any existing behavior.1 parent daca681 commit 794ab72
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
0 commit comments