Skip to content
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

[pen-action] TAG Feedback: Alignment with Mouse API #448

Closed
atanassov opened this issue Jan 26, 2021 · 1 comment
Closed

[pen-action] TAG Feedback: Alignment with Mouse API #448

atanassov opened this issue Jan 26, 2021 · 1 comment
Assignees

Comments

@atanassov
Copy link
Contributor

atanassov commented Jan 26, 2021

Based on comments by @kenchris and @cynthia made to address w3ctag/design-reviews#553

Originally posted by @kenchris in w3ctag/design-reviews#553 (comment)
Mouse has press and release events, but here you are only having a pressandhold, so you can not use it for pressing and dragging pen to select regions or text. Wouldn't it be better to have those instead?
Thanks for bringing this to our attention. Including the comment above, here are the questions we have.

Originally posted by @cynthia in w3ctag/design-reviews#553 (comment)
Why is the down/up pattern different for this from other (existing) input events? Pressandhold has limitations as @kenchris notes above.
Why is .connect() needed? Is this to ensure exclusive access to the pen, or a power saving measure?
It feels like having a "disconnect" event will be useful, since devices (as far as we are aware) automatically disconnect and an application should be able to know if it needs to call connect() again.
What happens when a page which is connected to a pen gets blurred? (e.g. user switches to a different tab)

@BoCupp-Microsoft
Copy link
Contributor

Thanks for opening this to grab my attention.

I've responded on the original TAG issue here. I'll close this issue so the conversation happens in the original one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants