1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-07-30 19:30:22 +02:00

fix vertical swipe navigation not blocking page scrolling in embedded decks

This commit is contained in:
Hakim El Hattab
2024-03-19 09:09:44 +01:00
parent d4e5c39fe4
commit 924bdb6305
8 changed files with 16 additions and 6 deletions

View File

@@ -103,6 +103,8 @@ export default class Touch {
*/
onTouchStart( event ) {
this.touchCaptured = false;
if( this.isSwipePrevented( event.target ) ) return true;
this.touchStartX = event.touches[0].clientX;