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

missing param disableDoubleclick #142

Closed
scco opened this issue Dec 16, 2023 · 2 comments
Closed

missing param disableDoubleclick #142

scco opened this issue Dec 16, 2023 · 2 comments
Labels
feature request feature request

Comments

@scco
Copy link

scco commented Dec 16, 2023

i do not know how to disable the "doubleclick" feature on a lightbox image.
this feature would just make sense, when :moveDisabled=false :zoomDisabled=false

when move is disabled, and zoom is disabled, the doubleclick just lead into a weired 200% big image

i suggest to a ) add a param disableDoubleclick
or b) disable the doubleclick listener when zoom is disabled

any way to disable this doubleclick, without modify the plugin ?

@XiongAmao XiongAmao added the feature request feature request label Dec 23, 2023
@XiongAmao
Copy link
Owner

Hi, i added prop dblclickDisabled (default: false) in v1.17.0.

@scco
Copy link
Author

scco commented Jan 10, 2024

@XiongAmao thanks a lot, works !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request
Projects
None yet
Development

No branches or pull requests

2 participants