Skip to content

fix(interaction): catch pointerlock failures#3546

Merged
finetjul merged 1 commit into
Kitware:masterfrom
sankhesh:pointer_lock
Jul 10, 2026
Merged

fix(interaction): catch pointerlock failures#3546
finetjul merged 1 commit into
Kitware:masterfrom
sankhesh:pointer_lock

Conversation

@sankhesh

@sankhesh sankhesh commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

The catch handler silently handles pointer lock failures allowing interaction to proceed without causing application level disruption

Context

When pointer lock fails on an unsupported browser, the application would crash with an error. This change allows the application to proceed by silently catching the failure.

Results

Changes

  • Documentation and TypeScript definitions were updated to match those changes

PR and Code Checklist

  • semantic-release commit messages
  • Run npm run reformat to have correctly formatted code

Testing

  • This change adds or fixes unit tests
  • Tested environment:
    • vtk.js:
    • OS:
    • Browser:

The catch handler silently handles pointer lock failures allowing interaction to proceed without
causing application level disruption
@sankhesh sankhesh requested review from PaulHax and finetjul July 10, 2026 04:45

@finetjul finetjul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@finetjul finetjul added this pull request to the merge queue Jul 10, 2026
Merged via the queue into Kitware:master with commit 801569a Jul 10, 2026
4 of 5 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 36.2.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released Automated label label Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Automated label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants