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
{{ message }}
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
I'm currently implemented fluidbox in a new web project, I'm combining it with a jquery zoom plugin.
It works great only when I zoom out of the image, fluidbox closes because the drag for the zoom is a click event for fluidbox.
I was hoping I could do a event.preventDefault in the closestart.fluidbox event, but this is not working.
The text was updated successfully, but these errors were encountered:
This feels like an XY problem: the closestart event is fired because closing has already been initiated: so conceptually it is already too late to stop closing at this point.
Instead, you might want to prevent the click event from propagating from the jQuery zoom plugin instead. In that sense, the click event does not bubble up to the fluidbox DOM and therefore will not be caught and trigger closing.
I'm currently implemented fluidbox in a new web project, I'm combining it with a jquery zoom plugin.
It works great only when I zoom out of the image, fluidbox closes because the drag for the zoom is a click event for fluidbox.
I was hoping I could do a event.preventDefault in the closestart.fluidbox event, but this is not working.
The text was updated successfully, but these errors were encountered: