Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a triggerEvent doc example #1140

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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