Skip to content

Conversation

@jeffsawyer
Copy link

adding element.click(); to force a click event after the MouseUp. In some browsers (firefox), I was seeing an issue where the combination of mousedown and mouseup event listeners with the transform css3 code were interfering with the click event ever firing. This means that using this code in collaboration with a jQuery fancybox would not work.

This was a simple hack/workaround and I'm not sure if this is the best way have fixing this issue, but it worked for me.

adding element.click(); to force a click event after the MouseUp. In some browsers (firefox), I was seeing an issue where the combination of mousedown and mouseup event listeners with the transform css3 code were interfering with the click event ever firing. This means that using this code in collaboration with a jQuery fancybox would not work.

This was a simple hack/workaround and I'm not sure if this is the _best_ way have fixing this issue, but it worked for me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant