We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b085446 commit c13be99Copy full SHA for c13be99
1 file changed
client/onSwipe.js
@@ -39,7 +39,7 @@ function onSwipe(elem, options) {
39
40
var insideScrollable = false;
41
var elem = e.target;
42
- while(elem) {
+ while(elem != document.body) {
43
if (elem.scrollWidth > elem.clientWidth) {
44
insideScrollable = true;
45
break;
0 commit comments