que-etc / resize-observer-polyfill

A polyfill for the Resize Observer API
MIT License
1.75k stars 132 forks source link

Doesn't work in Safari #61

Closed tobireif closed 5 years ago

tobireif commented 5 years ago

Great polyfill!

Unfortunately I just found out that it doesn't work at all in Safari.

Can you make it work in Safari?

lazysergey commented 4 years ago

@tobireif same here safari 13.0.5 - how did you solve this?

tobireif commented 4 years ago

For this https://tobireif.com/posts/layout_fun_with_css_grid/ I use https://github.com/que-etc/resize-observer-polyfill minus throttling.

It works beautifully in all modern browsers including Safari. I guess that's why I had closed the ticket.

Perhaps your Safari is outdated?

In any case, you did find an issue, best to submit a new ticket / bug report.