marcj / css-element-queries

CSS Element-Queries aka Container Queries. High-speed element dimension/media queries in valid css.
http://marcj.github.io/css-element-queries/
MIT License
4.27k stars 487 forks source link

Add a configurable delay? #231

Closed keul closed 6 years ago

keul commented 6 years ago

I'm fallen in a issue similar to #223. In my case the issue is generated by a plotly.js graph inside the monitored container on some specific window sizes near to the point where scrollbars are displayed hidden.

What I guess is happening:

So here I'm in an loop which never ends. I'm guessing if adding a configurable delay can be an option here.

marcj commented 6 years ago

The question is, why does plotly.js always changes its size when rendering?

keul commented 6 years ago

It's probably a good question, unluckily I don't have much domain on the plotly part, I don't know why there's a delay and render there.