Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The PointerInfo provided in onPointerObservable has an undefined pointerType on MacOS Safari #15466

Open
AmoebaChant opened this issue Aug 21, 2024 · 0 comments
Assignees
Milestone

Comments

@AmoebaChant
Copy link
Contributor

Repro

  • Bug repro on playground:
  • Expected result: In Safari, mousing over the scene should display "event.pointerType = mouse" in the UI
  • Current result: Only in Safari, it actually shows ".pointerType is missing"

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Safari

Additional context
It appears that Safari supports pointerType in the pointer* events, but Babylon currently wires up to the mouse* events for Safari which don't support that field. See GetPointerPrefix() in tools.ts.

@thomlucc thomlucc added this to the 8.0 milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants