ciampo / macro-carousel

Carousel as a Vanilla Web Component.
https://ciampo.github.io/macro-carousel/demo/
MIT License
77 stars 6 forks source link

[layout] Changing size of the carousel via CSS doesn't trigger resize #29

Closed ciampo closed 6 years ago

ciampo commented 6 years ago

Possible solutions:

ciampo commented 6 years ago

https://wicg.github.io/ResizeObserver/ ResizeObserver() is still a Draft, and is at the moment supported only by Chrome 64+ (polyfills are quite hard to implement correctly and efficiently). Its APIs may be changing in the future — holding on for now.