Ultralight icon indicating copy to clipboard operation
Ultralight copied to clipboard

Mouse wheel tilt is not supported (no wheel event)

Open JohnKlenk opened this issue 1 year ago • 1 comments

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 https://github.com/ultralight-ux/Ultralight/issues/303, but in that case it is reported that even deltaY is failing.

Mouse_wheel_tilt_demo.zip

JohnKlenk avatar Dec 18 '24 22:12 JohnKlenk

Still happens in 1.4.0.

JohnKlenk avatar May 12 '25 22:05 JohnKlenk