Open stephanwlee opened 5 years ago
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.
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.