-
Notifications
You must be signed in to change notification settings - Fork 34
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
Clarify whether touch contact must fire a pointerrawupdate
event
#373
Comments
Paging @NavidZ, author of the paragraph. |
@yacinehmito good question. Let's be on the same page on a few things first:
Our original intention of In terms of consistenty I have no issue and cannot imagine a problem with sending So two options here:
I wonder what others think. @patrickhlauke @smaug---- @mustaqahmed @liviutinta |
Not sure that's what this says https://w3c.github.io/pointerevents/#the-pointermove-event
i.e. it's saying "pointer changes button state", not limiting it to just chorded button interactions and https://w3c.github.io/pointerevents/#dfn-chorded-button-interactions doesn't say anything about not firing any unless i'm missing something somewhere non-obvious... |
philosophically though https://w3c.github.io/pointerevents/#the-pointerrawupdate-event
when a touch "appears" on a touchscreen the button state is not really changed, as the pointer only just appeared and wasn't there to begin with before the finger was on the touchscreen. so as a layperson, i wouldn't expect a |
I don't think you are missing anything. That's probably why
That's also a fair interpretation that I didn't think of. If we go with this then indeed the current wording is fine and makes sense not to fire |
however, in the case of mouse, that'd still leave a hole there i think. admittedly, i've never played directly with |
Thank you very much for the prompt answer.
Good point. Some more context as to why this is of interest to me: At the moment, listening to Yet, there is no way to know when the finger is lifted from the digitizer, as neither
This sounds like I am not using UPDATE: I just found out about issue #339. |
yes, sounds like |
Yeah, I was thinking the same. That sounds like a bug in Chrome. |
Yeah I also agree that this seems to be a bug in Chrome. The idea of As you mentioned I don't think you are using
No. They shouldn't as per the current spec. But going back to your use case, we have heard feedbacks for this usecase that people still wanting to react to the input while scrolling. Could you elaborate more on that to see what kind of interaction you want to implement during scroll that is not possible say with scroll-linked animations and whatever new features those folks are working towards these days? |
discussed in PEWG call today. issue closed as it relates to a bug in Chrome, and the additional use case is being discussed in #339 for possible future spec updates |
In the current draft, one can read the following in paragraph 4.2.5:
Consequently, a touch contact, which affects button state, must fire a
pointerrawupdate
event.However:
pointerrawupdate
is frequently compared topointermove
across the document, which does not fire on touch contact.pointerrawupdate
events.Was it intended to communicate a requirement to fire
pointerrawupdae
on button state change?The text was updated successfully, but these errors were encountered: