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

Errors when using filter on mobile #96

Open
sheldonbaker opened this issue Oct 6, 2022 · 2 comments
Open

Errors when using filter on mobile #96

sheldonbaker opened this issue Oct 6, 2022 · 2 comments

Comments

@sheldonbaker
Copy link

On a mobile device, when using brush.filter, any events that are removed by the filter will end up causing an error of emitter(...).moved is not a function or emitter(...).touchended is not a function.

function touchmoved(event) {
  emitter(this, arguments).moved(event);
}

function touchended(event) {
  emitter(this, arguments).ended(event);
}

https://codepen.io/sheldoncodes/pen/jOxvmdq (simulate a mobile device in your devtools).

@muellnerlisa
Copy link

I am experiencing the exact same issue, did anyone find a solution for this error?

@sheldonbaker
Copy link
Author

I am experiencing the exact same issue, did anyone find a solution for this error?

No, I just had to filter the specific error message so it stays out of my logs.

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

No branches or pull requests

2 participants