Skip to content

How to stop propagation of "wheel" events? #519

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

Open
lukeautry opened this issue Apr 1, 2025 · 0 comments
Open

How to stop propagation of "wheel" events? #519

lukeautry opened this issue Apr 1, 2025 · 0 comments

Comments

@lukeautry
Copy link

Stackblitz: https://stackblitz.com/edit/vitejs-vite-lbeavevd?file=src%2Fmain.ts

Image

I can't seem to find a way to prevent a wheel event from "bubbling up" to PixiViewport. If I have some container within my viewport that I need to have handle "wheel" - is this possible?

I would expect calling stopPropagation (as shown in the repro) to prevent zooming, but it doesn't seem to.

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

No branches or pull requests

1 participant