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

Initial hidden state fix #208

Closed JeanRemiDelteil closed 6 years ago

JeanRemiDelteil commented 6 years ago

Fix ResizeSensor when adding it to an element that is currently hidden, even if it is hidden because one of its parent is hidden.

Also contain fixes for incorrect logic found when writing this fix.

movedoa commented 6 years ago

Will this get merged? This a superior solution to the current one.

marcj commented 6 years ago

Merged in https://github.com/marcj/css-element-queries/pull/213