-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dropdown): support closest for HTMLDocument in EdgeHTML (#3786)
When autoclosing a dropdown by clicking the scrollbar, an error would be thrown in Edge 44.18362.449.0. This was due to the HTMLDocument not supporting `Element.prototype.closest`. By emulating `Element.prototype.closest` for this specific node, this commit circumvents the issue. Fixes #3783.
- Loading branch information
1 parent
6e1610d
commit d11530a
Showing
2 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters