Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mobile): add touch delay to allow scroll on mobile #315

Merged
merged 11 commits into from
Sep 4, 2019
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,9 @@ var options = {
hoverDelay: 0,
// An optional number that determines how long to wait before
// showing the ZoomPane because of a `touchstart` event.
// It's unlikely that you would want to use this option, since
// "tap and hold" is much more intentional than a hover event.
// Setting this to a reasonable amount will allow users to execute
// scroll-gestures events on touch-enabled devices with the image as
// a starting point
touchDelay: 0,
// If true, a bounding box will show the area currently being previewed
// during mouse hover
Expand Down
Loading