GoogleChromeLabs / container-query-polyfill

A polyfill for CSS Container Queries
https://npm.im/container-query-polyfill
Apache License 2.0
1.13k stars 50 forks source link

Polyfill not wotking in latest firefox (107.0.1) #73

Closed BennyAlex closed 1 year ago

BennyAlex commented 1 year ago

Hello,

When i visit the demo page (https://codesandbox.io/s/smoosh-glitter-m2ub4w?file=/index.html) on firefox, the page does not behave the same as on chrome. So I think the polyfill is not working at all?

Thanks for any help.

gkatsev commented 1 year ago

that page is linking to a quite older version of the polyfill. If you change it to use 1.0.2, it should work. https://cdn.jsdelivr.net/npm/container-query-polyfill@1.0.2/dist/container-query-polyfill.modern.js

gkatsev commented 1 year ago

Also, for reference, Firefox 109 will be shipping container queries 🎉

lilles commented 1 year ago

This is most likely the same as issue #64.