add `excludeClass` prop to opt out child elements from pan/zoom · Issue #42 · ehassaan/vue-zoomable · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m embedding interactive Vuetify controls (e.g. a <v-slider>) inside <VueZoomable>, but any drag or wheel events on those controls currently trigger the container’s pan/zoom instead of the intended control behavior.
Proposal
Introduce an excludeClass prop (default: "zoom-exclude") on the VueZoomable component. When this class is applied to any child element, all pointer/drag/wheel handlers should ignore events originating from that element (and its descendants). This would mirror Panzoom’s excludeClass option (FAQ #3).
Happy to submit a PR with these changes if this aligns with the project direction.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I’m embedding interactive Vuetify controls (e.g. a
<v-slider>
) inside<VueZoomable>
, but any drag or wheel events on those controls currently trigger the container’s pan/zoom instead of the intended control behavior.Proposal
Introduce an
excludeClass
prop (default:"zoom-exclude"
) on theVueZoomable
component. When this class is applied to any child element, all pointer/drag/wheel handlers should ignore events originating from that element (and its descendants). This would mirror Panzoom’sexcludeClass
option (FAQ #3).Happy to submit a PR with these changes if this aligns with the project direction.
The text was updated successfully, but these errors were encountered: