-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Please Add PointerEvents API support for external mouse / touchpad on tablet support / iPad with Magic Keyboard Support #77
Comments
@agotfredsen82 That's interesting. Yes, we are currently not using the PointerEvents API and instead are differentiating between Drag and Touch Events. Definitely something we can look into modifying in the future. However, I also use a mac with a touch pad and have never run into this issue. Is there some sort of reproduction you can produce or additional details you can give about the issue you're having? |
@sashamilenkovic yes absolutely . the reproduction is easy . it works on a Mac with touchpad because the touchpad counts as a mouseevent, however if you are using an iPad that you control remotely using the Mac touchpad you get a virtual cursor on your iPad , it shows as a round circle , now that circle don´t count as an touch event or moue event . its a pointer event. You can´t simulate on the Xcode Simulator because that events counts as an touch event if you use your Mac trackpad . Most important and where I first noticed the issue is on iPad Pro with connected Magic Keyboard with build in trackpad. You know that black case that has keyboard and trackpad that you can attach to the iPad Pro .. now that trackpad counts as an Pointer Event ... ergo the framework don´t work with users who owns iPad with external trackpad / keyboard or Mac users owning a Ipad and is controlling it using the Universal Control feature .. |
@agotfredsen82 Oh gotcha, I misunderstood. Yes, this is something we'll look into. Thanks for letting us know! |
Not problem @sashamilenkovic :-) Happy to help . Any progress on this ? It feels such a bummer that every time I´m using an iPad with Magic Keyboard and using the trackpad the drag drop does not work and I´m like . ohh yeah.. I need to touch the iPad screen . The drag and drop is literally the only thing that does not work in the thing we build using a iPad connected trackpad with this framework so the experience gets .. awkward .. |
@agotfredsen82 apologies for the late reply; I started working on this last night and made a good bit of progress. No timetable but hopefully this will be released sooner rather than later. |
Hi. Love your framework but as it does not have support for PointerEvents such as
addEventListener("pointerdown", (event) => {});
addEventListener("pointermove", (event) => {});
addEventListener("pointerenter", (event) => {});
addEventListener("pointerover", (event) => {});
etc etc it does not work at all when using external mouse, Magic Keyboard with touchpad or remote controlling a iPad from a Mac .
Please add PointerEvents API support so it functions correctly, it feels it´s not that much work to add to have it function properly .
Best Regards
The text was updated successfully, but these errors were encountered: