Implement swipe gesture instead of autoplay for mobile (#10110)

* Implement swipe gesture instead of autoplay

* Cleanup
This commit is contained in:
Nicolas Mowen
2024-02-27 20:39:06 -07:00
committed by GitHub
parent fd24007618
commit 3fed6a0ab3
4 changed files with 21 additions and 26 deletions

9
web/package-lock.json generated
View File

@@ -46,6 +46,7 @@
"react-hook-form": "^7.48.2",
"react-icons": "^4.12.0",
"react-router-dom": "^6.20.1",
"react-swipeable": "^7.0.1",
"react-tracked": "^1.7.11",
"react-transition-group": "^4.4.5",
"react-use-websocket": "^4.5.0",
@@ -6735,6 +6736,14 @@
}
}
},
"node_modules/react-swipeable": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/react-swipeable/-/react-swipeable-7.0.1.tgz",
"integrity": "sha512-RKB17JdQzvECfnVj9yDZsiYn3vH0eyva/ZbrCZXZR0qp66PBRhtg4F9yJcJTWYT5Adadi+x4NoG53BxKHwIYLQ==",
"peerDependencies": {
"react": "^16.8.3 || ^17 || ^18"
}
},
"node_modules/react-tracked": {
"version": "1.7.11",
"resolved": "https://registry.npmjs.org/react-tracked/-/react-tracked-1.7.11.tgz",