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

Support Windows 10 stylus with pointer events (almost) #214

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nemiah
Copy link

@nemiah nemiah commented Dec 9, 2020

Hi,

I tried to add support for Windows 10 tablets with stylus via the pointer events.
It's almost working, but

  • The line starts drawing after I lift up the stylus
  • The line does not stop drawing as the pointerup-event is somehow not fired

Maybe someone can help?

Works fine when using mouse input and on my Android tablet with stylus though 😉

document.body.style.overflowY = "scroll";

lastScrollY = window.scrollY;
document.body.style.position = 'fixed';
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to fix the body or the stylus would scroll the page up and down 😞

@nemiah
Copy link
Author

nemiah commented Dec 16, 2020

Noone?

@hassaanalansary
Copy link
Contributor

I have checked but unfortunately, I couldn't find a fix

@nemiah
Copy link
Author

nemiah commented Dec 17, 2020

Ok, can you confirm that the pointerup-Event is somehow missing?

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

Successfully merging this pull request may close these issues.

2 participants