dotnet-websharper / ui

A reactive UI library for WebSharper.
https://websharper-samples.github.io/ui/
Apache License 2.0
77 stars 22 forks source link

Remove `closest.js` polyfill #277

Closed granicz closed 11 months ago

granicz commented 11 months ago

This polyfill supplies closest and matches to the Element type in certain templating situations, mostly to patch up IE (which as of version 11 still doesn't support these). We are removing IE support from WebSharper, so this polyfill should be removed also.

Users needing this polyfill for IE compatibility should probably use something more modern, such as https://www.npmjs.com/package/element-closest-polyfill or https://github.com/jonathantneal/closest.