Skip to content

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

@lukeautry

Description

@lukeautry

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions