You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I get the following error when using touch events on Apple mobile devices.
Here are console logs from when I was testing on iPad:
For every touch event, I get the following errors in the console. Note the intended touch event coming through WindowEvent::PointerButton -> ButtonSource::Touch does get delivered to the fn window_event function of the ApplicationHandler, though it's just spammed with these errors as well.
I tried looking into the W3C spec for PointerEvent.pointerId, and it doesn't give me the impression that this number can't be negative, though I'm not too familiar.
Tested browsers
Safari (newer than listed)
Tested devices
iPhone 12 (18.1.1)
iPad Pro (18.3)
Winit version
The latest master branch, which at the time of this issue is 4d5e68c.
The text was updated successfully, but these errors were encountered:
Description
Hello. I get the following error when using touch events on Apple mobile devices.
Here are console logs from when I was testing on iPad:
For every touch event, I get the following errors in the console. Note the intended touch event coming through
WindowEvent::PointerButton -> ButtonSource::Touch
does get delivered to thefn window_event
function of theApplicationHandler
, though it's just spammed with these errors as well.The line of code causing the error is here:
winit/src/platform_impl/web/event.rs
Lines 1 to 12 in 4d5e68c
I tried looking into the W3C spec for PointerEvent.pointerId, and it doesn't give me the impression that this number can't be negative, though I'm not too familiar.
Tested browsers
Safari (newer than listed)
Tested devices
iPhone 12 (18.1.1)
iPad Pro (18.3)
Winit version
The latest master branch, which at the time of this issue is 4d5e68c.
The text was updated successfully, but these errors were encountered: