Vega-lite: Make default selection events work on mobile

Created on 6 Mar 2019  路  7Comments  路  Source: vega/vega-lite

Currently, our default selection events are only for desktop applications.

Area - Interaction P2

Most helpful comment

Not yet but we would be thrilled about PRs along those lines.

All 7 comments

@mattijn showed how you can add touch interactions to VL right now in https://github.com/vega/vega-lite/issues/4208#issuecomment-471757641 but we should see how we can support this by default.

@domoritz said that Falcon has some example events that work on mobile too.

Is there any progress on this feature? :)

Not yet but we would be thrilled about PRs along those lines.

@domoritz, I'd love to give this a try, could you point me to the Falcon code that handles mobile events?

Suggestion from my side:

  • Single selection: tap
  • Multi selection: tap to select, tap again to deselect, i.e. like with toggle set to true
  • 1D Interval: the ones from Falcon (I came here to see if the falcon brush is planned to become default 馃檪 )
  • 2D Interval: 馃し鈥嶁檪 the grabbers fromfalcon will not work if the selected area is small, but I'm not sure if there is a reasonable alternative

Falcon brush:
falcon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcnuttandrew picture mcnuttandrew  路  3Comments

kanitw picture kanitw  路  4Comments

mcnuttandrew picture mcnuttandrew  路  3Comments

ijlyttle picture ijlyttle  路  4Comments

kanitw picture kanitw  路  3Comments