Skip to content

V4 without jquery: workaround for ms edge defaultPrevented reset#23989

Merged
Johann-S merged 1 commit intotwbs:v4-without-jqueryfrom
alekitto:v4-without-jquery
Sep 20, 2017
Merged

V4 without jquery: workaround for ms edge defaultPrevented reset#23989
Johann-S merged 1 commit intotwbs:v4-without-jqueryfrom
alekitto:v4-without-jquery

Conversation

@alekitto
Copy link
Copy Markdown
Contributor

Related to #23586 (comment) and https://saucelabs.com/jobs/03afada422c7448d84ea067dee18906d failed job

Workaround for M$ Edge resetting defaultPrevented flag on dispatchEvent

@Johann-S I will really appreciate your opinion about this

Comment thread js/src/dom/eventHandler.js Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

to avoid double check of typeof window.CustomEvent you should move this IIFE where we add a polyfill to add CustomEvent

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

and can you add a comment to explain the reason we added that please

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ok, done

@Johann-S
Copy link
Copy Markdown
Member

Thank you to handled that @alekitto ❤️

@Johann-S Johann-S merged commit a828cce into twbs:v4-without-jquery Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants