rodneyrehm / viewport-units-buggyfill

Making viewport units (vh|vw|vmin|vmax) work properly in Mobile Safari.
MIT License
1.59k stars 151 forks source link

Custom Events issue #107

Closed guimachiavelli closed 2 years ago

guimachiavelli commented 5 years ago

The library currently breaks native custom events used inside the shadow dom on FF67 and Chrome 75 when it polyfills custom events for its own use.

More specifically, in order to have events bubbling up from the shadow dom, one needs to add {bubbles: true, composer: true} as parameters of that custom event. The polyfill viewport-units-buggyfill uses ignores composed and thus the event never bubbles.

It turns out we do not need this library anymore, so our fix was to remove it, but I'm leaving this issue here in case anyone else is having problems with this.