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

touchevent :Cannot read property 'x' of undefined #5743

Closed
tczj199076 opened this issue Jun 6, 2019 · 4 comments
Closed

touchevent :Cannot read property 'x' of undefined #5743

tczj199076 opened this issue Jun 6, 2019 · 4 comments

Comments

@tczj199076
Copy link

Version

3.1.0

Test Case

http://jsfiddle.net/fabricjs/Da7SP/

Information about environment

Nodejs or browser?
Which browsers? chrome,firefox

Steps to reproduce

I use wacom,but the browsers renturn error 'Cannot read property 'x' of undefined'

Expected Behavior

Actual Behavior

@asturur
Copy link
Member

asturur commented Jun 8, 2019

hi, i do not have a wacom tablet, and i do not know how it works.
What kinds of events it generates?

@tczj199076
Copy link
Author

hi, i do not have a wacom tablet, and i do not know how it works.
What kinds of events it generates?

I use the pen of wacom,draw in canvas,and it tips me Cannot read property 'x' of undefined,I use chrome,but when I set the mobile model of chrome,it works,I don't know why

@pinstripe-potatohead
Copy link

pinstripe-potatohead commented Jun 22, 2019

I am facing a similar issue. I deployed a fabricjs drawing application, which users say works with mouse and touch devices, and with certain graphics tablets (like Wacom one), but not with others (eg, Wacom Intuos).

Unfortunately, I don't have access to a wacom intuos device, so don't know what the issue is. Browser console doesn't seem to throw an error either.

I'm using fabricjs 3.2.0, with pointer events enabled.

** Edit: Figured out that the issue happens on Chrome/Win 10 when the stylus is used in pen mode. Opened another issue #5773

@asturur
Copy link
Member

asturur commented Jul 14, 2019

please check on #5785

@asturur asturur closed this as completed Jul 14, 2019
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