Ultralight
Ultralight copied to clipboard
Mouse wheel tilt is not supported (no wheel event)
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.
Still happens in 1.4.0.