-
Notifications
You must be signed in to change notification settings - Fork 7
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
FilterOptions: replace new Event() with DOM.trigger() #1058
Conversation
The event constructor does not work in ie11, but we have an ie11 compliant implementation with DOM.trigger() T=https://yextops.zendesk.com/agent/tickets/348126 TEST=manual Test that before, in browserstack ie11, clicking the X button in a searchable facet has console error With code change, no console error
'bubbles': true, | ||
'cancelable': true | ||
})); | ||
DOM.trigger(searchInputEl, 'input'); |
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.
Do we need to include any of the event settings in the call to DOM.trigger
? Or do the defaults in _customEvent
get us what we need?
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.
yes the defaults are the same
The event constructor does not work in ie11, but we have an ie11 compliant implementation with DOM.trigger() T=https://yextops.zendesk.com/agent/tickets/348126 TEST=manual Test that before, in browserstack ie11, clicking the X button in a searchable facet has console error With code change, no console error and that it still clears the facet search input on chrome + ie11
Heya heads up, for some reason this PR didn't run |
Oh shoot, thanks Christian. I didn't realize our ci didn't run (looks like there were some organization changes? I can't open project settings anymore) |
The event constructor does not work in ie11, but we have an ie11 compliant implementation with DOM.trigger() T=https://yextops.zendesk.com/agent/tickets/348126 TEST=manual Test that before, in browserstack ie11, clicking the X button in a searchable facet has console error With code change, no console error and that it still clears the facet search input on chrome + ie11
The event constructor does not work in ie11, but we have an ie11 compliant implementation with DOM.trigger() T=https://yextops.zendesk.com/agent/tickets/348126 TEST=manual Test that before, in browserstack ie11, clicking the X button in a searchable facet has console error With code change, no console error and that it still clears the facet search input on chrome + ie11
The event constructor does not work in ie11, but we have an ie11 compliant implementation with DOM.trigger() T=https://yextops.zendesk.com/agent/tickets/348126 TEST=manual Test that before, in browserstack ie11, clicking the X button in a searchable facet has console error With code change, no console error and that it still clears the facet search input on chrome + ie11
The event constructor does not work in ie11, but we have an
ie11 compliant implementation with DOM.trigger()
T=https://yextops.zendesk.com/agent/tickets/348126
TEST=manual
Test that before, in browserstack ie11,
clicking the X button in a searchable facet has console error
With code change, no console error
and that it still clears the facet search input on chrome + ie11