Skip to content

v0.3.7

Choose a tag to compare

@IhsenBouallegue IhsenBouallegue released this 14 May 15:15
· 31 commits to main since this release

Gestures: mobile/desktop split

Touch pointers (phone/tablet) now get tap + hold only — slide is intentionally disabled to stop the gesture from fighting page scroll. Hold (500ms) opens the detail dialog with a haptic bump; fine control lives there. Mouse and pen keep tap/hold/slide unchanged.

touch-action: manipulation is applied automatically, so the browser owns scroll on mobile.

Added

  • haptics util — probes Capacitor Haptics, falls back to navigator.vibrate, silent on unsupported platforms.

Changed

  • useWidgetGestures decides grammar per press via e.pointerType, so hybrid devices with bluetooth mice still get the slide path.
  • HOLD_DELAY standardised at 500ms (per-widget overrides removed in @glasshome/widgets).