Skip to content

Zoom in the image using touch pad #181

Discussion options

You must be logged in to vote

This is not something that is supported by the library. Disabling the features you mention above severely affects usability of touch-swipe navigation on mobile devices, and this is not something that I'm open to offer as an officially supported configuration option. You can see the drawbacks I'm talking about by adding the following CSS:

.yarl__container, .yarl__slide_image {
    touch-action: unset;
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by parsagholipour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants