-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Get tests passing w/ Chrome's new selectionchange event behavior #1473
Conversation
f78fa0f
to
33a0619
Compare
3522b21
to
d300515
Compare
@@ -18,6 +18,10 @@ if (isEdge) { | |||
blurSteps = ['focusout', 'blur']; | |||
} | |||
|
|||
if (isChrome) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we not do selectionchange
for Firefox since that supports it also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The behavior is slightly different.
When I was working on this PR, I had 5 browsers open
- FireFox
- FireFox Developer Edition
- Safari
- Chrome
- Chrome Canary
😅
'focusin', | ||
'mouseup', | ||
'click', | ||
'selectionchange', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just push selectionchange
to the existing list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then we'd need to add inverted conditions for safari and firefox
Unblocks: #1470
Last successful build (nightly cron): https://github.com/emberjs/ember-test-helpers/actions/runs/10173407362
Next nightly cron failed: https://github.com/emberjs/ember-test-helpers/actions/runs/10191329093
Findings:
selectionchange
events in this jsbin demo I made: https://jsbin.com/feseyif/edit?html,outputIn the changes in this PR: