ResizeObserver is not polyfilled even though `|force` is used
See original GitHub issueThis is my current script tag:
<script crossorigin src="https://polyfill.app/api/polyfill?features=es,fetch,pointer-event,scroll-behavior,resize-observer|force"></script>
An hour ago I got this error on Sentry:
For some reason ResizeObserver
is not being polyfilled.
This is the user agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Mobile/15E148 Safari/604.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
ResizeObserver#observe() firing the callback immediately ...
The reason it does currently is that the observer fires immediately after observe() is attached, whether any resizing happens or not. If you ......
Read more >Chart.js 3+, Firefox 68 and Angular: "ReferenceError
So I installed it in my project by typing npm i @juggle/resize-observer and then added it to the polyfill.ts file: import '@juggle/resize- ......
Read more >Resize Observer API - MDN Web Docs
The Resize Observer API provides a performant mechanism by which code can monitor an element for changes to its size, with notifications ...
Read more >resize-observer-polyfill - npm
A polyfill for the Resize Observer API. Latest version: 1.5.1, last published: 4 years ago. Start using resize-observer-polyfill in your ...
Read more >Eternal Polyfilling of the Legacy Browser - Captain Codeman
Examples are things like IntersectionObserver or ResizeObserver which remove the hacky approaches needed to decide if a component is in the viewport or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I understand your situation. I’ve been looking into this a lot today and will continue to do so over the next hours since this causes a lot of issues right now. For now, you can try leaving out
es
, yes. I will report back as soon as this has been resolved.Ok, I’ll mark it as resolved.
For something like polyfill.app you’d probably want it to be highly available using AWS lambda etc