Skip to content

Conversation

@finetjul
Copy link
Member

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

Issue could be reproduced by adding the following in a trame-rca VTK example:

with layout.toolbar:
  v3.VTextField(v_model="test",)

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",)
```
@jourdain jourdain merged commit 7fec97a into master Dec 13, 2025
7 checks passed
@jourdain jourdain deleted the fix-keyboard-events branch December 13, 2025 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants