bumbu/svg-pan-zoom

Method for only disabling the click listener's preventDefault()

Open

#156 ouverte le 13 oct. 2015

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)JavaScript (383 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 585 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Thank you for #123.

But having the new option affect all events goes a little far for my use case. Now if I set preventMouseEventsDefault: false, I scroll the screen when trying to pan via touch or zoom with the mousewheel.

Is there a way to prevent this?

Guide contributeur