Framework: Use standard polyfill pattern for Element#closest polyfill #7159
Labels
Framework
Issues related to broader framework topics, especially as it relates to javascript
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Related: #7033 (specifically overview at #7033 (review) )
We should consolidate our approaches to polyfilling missing behavior, mostly impacting Internet Explorer support. Our use of the
element-closest
module has proven difficult to maintain. The approach used in #7033 for polyfillingNode#contains
is looking to be a better candidate for its maintenance and performance implications.As part of this, we must determine a way to ensure these polyfills are loaded by all dependent scripts. Some ideas:
#7033 (review)
#7033 (comment)
#7033 (review)
The text was updated successfully, but these errors were encountered: