Skip to content

Commit b542fef

Browse files
committed
Prevent scroll for touch devices while selecting picker items.
1 parent 4e48eee commit b542fef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dist/multipicker.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/multipicker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
picker.hover(target);
4040
picker.lastElem = target;
4141
}
42+
e.preventDefault();
4243
};
4344

4445
function mousedown (e) {

0 commit comments

Comments
 (0)