mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 02:59:07 +08:00
Previously, the mobile composer swallowed pinch-zoom (and scroll) gestures because `editorTouchMove` called `preventDefault()` on every touch gesture and .composer-fields/.submit-panel used `touch-action: none`. This caused issues when the composer was zoomed in, it was nearly impossible to zoom back out, resulting in elements not being reachable. Meta `t/408540` This change makes editorTouchMove ignore **multi-touch gestures** and switches those regions to touch-action: pinch-zoom, so the browser's native zoom works over the composer while accidental scroll-panning is still blocked. |
||
|---|---|---|
| .. | ||
| asset-processor | ||
| deprecation-silencer | ||
| discourse | ||
| discourse-i18n | ||
| discourse-markdown-it | ||
| discourse-types | ||
| pretty-text | ||
| .npmrc | ||
| polyfills.js | ||