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

Mouse wheel tilt is not supported (no wheel event) #522

Open
JohnKlenk opened this issue Dec 18, 2024 · 0 comments
Open

Mouse wheel tilt is not supported (no wheel event) #522

JohnKlenk opened this issue Dec 18, 2024 · 0 comments

Comments

@JohnKlenk
Copy link

Ultralight does not generate a wheel event when the mouse wheel is tilted. So it is apparently not possible to scroll left/right via javascript by tilting the wheel.

You can see this by adding the following to a page, or just loading the attached html file in the sample browser (which works properly in Chrome, although since Chrome has native support for tilting the wheel the only thing useful there is probably the deltaX logging).

$(document).on("wheel", function (e)
{
   console.log(`e.deltaX=${e.deltaX}, e.deltaY=${e.deltaY}`);
}

Seems related to #303, but in that case it is reported that even deltaY is failing.

Mouse_wheel_tilt_demo.zip

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