Skip to content

scrolling is not captured on web mobile #2116

Description

@rukai

On the web on desktop devices, scrolling the mouse while the cursor is over the winit window will not scroll the webpage.
This is good and desirable.

However one finger dragging over the winit window on a mobile device will scroll the webpage.
This is bad, particularly on mobile as the cursor position events reports strange movement due to the page scroll negating the movement of the 'cursor'.

Libraries like three-js handle both of these cases by preventing scrolling.

Possibly it will be fixed by just handling the relevant events in #1945
Or maybe we need to do more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - webAffects the Web backend (WebAssembly/WASM)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions