fix(ui): mobile WebView polish — tap-flash, VK haptics, VK swipe-back #149
Reference in New Issue
Block a user
Delete Branch "feature/mobile-webview-polish"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three small mobile in-app WebView fixes, bundled so one contour deploy covers them:
Tap-flash —
-webkit-tap-highlight-color: transparenton#app. Android in-app WebViews (Telegram, VK) drew a momentary selection-like box on a tappable node on tap — seen on the header title and the back chevron.user-select(alreadynone) does not govern this; the new property does, and it inherits app-wide.VK haptics — VK users had no haptics. Mirror the Telegram set via VK Bridge taptic (
VKWebAppTapticImpactOccurred/…NotificationOccurred/…SelectionChanged), routed through a new sharedlib/haptics.tsdispatcher; game/error call sites now firehaptic().VK swipe-back — disable VK's horizontal swipe-back at launch (
VKWebAppSetSwipeSettingshistory:false) so it does not fight the app's own edge-swipe-back and on-board tile drag — parity with Telegram's disabled vertical swipes.Review on the contour: tap the header title / back on Android (no flash); haptics on VK; VK swipe-back inert. Docs: UI_DESIGN. Verified locally:
pnpm check(0/0), unit (356), build, e2e (160 passed).