Skip to content

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

Open
nemiah wants to merge 2 commits intothread-pond:mainfrom
nemiah:master
Open

Support Windows 10 stylus with pointer events (almost)#214
nemiah wants to merge 2 commits intothread-pond:mainfrom
nemiah:master

Conversation

@nemiah
Copy link
Copy Markdown

@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 😉

Comment thread jquery.signaturepad.js
document.body.style.overflowY = "scroll";

lastScrollY = window.scrollY;
document.body.style.position = 'fixed';
Copy link
Copy Markdown
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
Copy Markdown
Author

nemiah commented Dec 16, 2020

Noone?

@hassaanalansary
Copy link
Copy Markdown
Contributor

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

@nemiah
Copy link
Copy Markdown
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