Commit 7fec97a
fix(events): prevent VTK.js from eating keyboard events
See Kitware/vtk-js#3239
preventDefault() must be removed because it was preventing the render window HTML element from getting the focus on mouse click.
draggable="false" must be added otherwise mouse drags attempt to "drag" the rendered <img>
Issue could be reproduced by adding the following in a trame-rca VTK example:
```
with layout.toolbar:
v3.VTextField(v_model="test",)
```1 parent cc61dcd commit 7fec97a
File tree
3 files changed
+2
-3
lines changed- vue-components
- src/components
3 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments