ember-test-helpers icon indicating copy to clipboard operation
ember-test-helpers copied to clipboard

Add a `triggerEvent` doc example

Open yannbertrand opened this issue 3 years ago • 2 comments

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 😄.

yannbertrand avatar Oct 12 '21 13:10 yannbertrand

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

rwjblue avatar Nov 04 '21 20:11 rwjblue

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 :)

yannbertrand avatar Nov 12 '21 09:11 yannbertrand