No-Library (pure JS), HTML, CSS, JavaScript
jQuery 3.4.1, HTML, CSS, JavaScript
jQuery (edge), HTML, CSS, JavaScript
It seems ResizeSensor fails to identify differences in size based on a parent container becoming visible.