Docs
Everything You Need to Know
Gestures
Intro
ChocolateChip-UI provides gestures to make user interactions more natural. These work identically with mouse or touch. ChocolateChip-UI provides the following gestures:
- tap
- dbltap
- longtap
- swipeleft
- swiperight
- swipeup
- swipedown
On Microsoft platforms, they use long taps for showing the context menu, so mostly this does not respond as expected. Otherwise these work the same across platforms and devices.
We strong recommend use ChocolateChip-UI's tap for user interactions. Using a click has a rather long delay, and using a touchstart can cause scrollable lists to behave unexpectedly by triggering actions while trying to scroll. A tap is the sweet spot for most user interactions.