Polyfill-service: Wrong polyfill name for IntersectionObserver

Created on 14 Mar 2019  路  3Comments  路  Source: Financial-Times/polyfill-service

When adding the IntersectionObserver polyfill while creating a bundle, "IntersectionObserver-polyfill" is added to the query string. This is incorrect as it does not pull in the polyfill. Instead, "IntersectionObserver" should be added. The same applies for IntersectionObserverEntry.

Most helpful comment

Actually the -polyfill ending is added to all polyfill query strings, not just the IntersectionObserver polyfill. Thus none of them is working out of the box. After manually removing the -polyfill like stevesy wrote, then they work nicely.

All 3 comments

Actually the -polyfill ending is added to all polyfill query strings, not just the IntersectionObserver polyfill. Thus none of them is working out of the box. After manually removing the -polyfill like stevesy wrote, then they work nicely.

Same here, removing -polyfill works like a charm but the website is giving wrong informations

Thanks

This has now been fixed and is live on polyfill.io

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dy picture dy  路  8Comments

JakeChampion picture JakeChampion  路  4Comments

stegano picture stegano  路  5Comments

michapietsch picture michapietsch  路  6Comments

EECOLOR picture EECOLOR  路  3Comments