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

FR: EventFilter for DragInteraction? #3479

Open
stephanwlee opened this issue Oct 19, 2018 · 0 comments
Open

FR: EventFilter for DragInteraction? #3479

stephanwlee opened this issue Oct 19, 2018 · 0 comments

Comments

@stephanwlee
Copy link

Hi there!

DragInteraction, today, supports MouseFilter that lets consumer choose which events to ignore and what not. Can we generalize that a little bit more and have a general filter for all PointerEvent?
Context: https://github.com/palantir/plottable/blob/develop/src/interactions/dragInteraction.ts#L81

What I want to achieve: I would like to disable touch interaction in certain case and it seems like one way to achieve that is through the {Mouse,Touch}Filter concept in DragInteraction.

  • Plottable version: all
  • Browser name/version: all
  • OS name/version: all
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

No branches or pull requests

1 participant