Skip to content

FR: EventFilter for DragInteraction? #3479

@stephanwlee

Description

@stephanwlee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions