Skip to content

Conversation

@yannbertrand
Copy link

My team and I have been struggling with the triggerEvent options parameter.

Our usecase is fixing a Firefox bug where the mouseleave event is triggered when hovering a select option even if the mouse is still hover the target element. We did some acceptance tests to trigger the event with or without a given relatedTarget element.

Hopefully this PR will help other users too 😄.

My team and I have been struggling with the `triggerEvent` options parameter.

Our usecase is fixing [a Firefox bug](https://stackoverflow.com/questions/46831247/select-triggers-mouseleave-event-on-parent-element-in-mozilla-firefox) where the mouseleave event is triggered when hovering a select option even if the mouse is still hover the target element. We did some acceptance tests to trigger the event with or without a given `relatedTarget` element.

Hopefully this PR will help other users too 😄.
Co-authored-by: NullVoxPopuli <[email protected]>
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@rwjblue
Copy link
Member

rwjblue commented Nov 4, 2021

Looks like some linting failures here (sorry for taking so long to approve the run) @yannbertrand

@yannbertrand
Copy link
Author

Looks like some linting failures here (sorry for taking so long to approve the run) @yannbertrand

Should be fixed now. Thank you for your patience :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants