clash/client/js
Eliott C. 0f1f9b7ccf
Allow page scrolling over the game canvas (#510)
Swiping over the game canvas prevented the surrounding page from
scrolling, making the platform chat difficult to reach on a phone. Allow
native vertical scrolling and pinch zoom while retaining
browser-generated mouse events for taps. Plain wheel gestures scroll the
page; Ctrl/Command-wheel and fullscreen retain board zoom.

The change intercepts only the canvas library's blanket touch/wheel
cancellation. Validation against the built published-compatible WASM
viewer: native touch and wheel scrolling, no move emitted during a
swipe, and one mouse press/release pair per tap.
2026-09-27 08:13:16 +00:00
..
src Allow page scrolling over the game canvas (#510) 2026-09-27 08:13:16 +00:00
package-lock.json Update dependency webpack to v5.111.1 (#509) 2026-09-21 22:16:14 +00:00
package.json Update dependency webpack to v5.111.1 (#509) 2026-09-21 22:16:14 +00:00
webpack.config.js Client (#90) 2024-12-29 14:20:37 +01:00