I was very happy when I realized that the sticky CSS attribute was back and supported by the latest Chrome update, but, to my surprise, is the element invisible for some reason?
Stickiness works fine, the element adheres to its predetermined position, as when scrolling the page, but the element is completely invisible for some strange reason, is there anyone who knows anything about this strange behavior?
See screen capture
I also noticed that the sticky function stops working if the parent DIV uses the overflow attribute: hidden (usually on the page wrapper), which was also kind of weird behavior, as many modern websites use scrollable DIVs, and they most likely also use hidden menu of boxes for tablets and mobile devices.
But what about this disappearing behavior?
Update:
I reproduced the behavior in Codepen, and here is an example with the same HTML and CSS, which is used in my development example.
See codepen example
I didn’t include all the CSS, only what needed to be shown, and I attached the problem to the social networks menu in the footer, that is, if I remove the icons ( <i></i>) in this menu, will the sticky sidebar reappear?
<div class="social-menu">
<ul class="nav nav-pills">
<li class="nav-item"><a href="" class="nav-link" itemprop="sameAs" target="_blank"><i class="icon i-social-facebook i-3x">Facebook</i></a></li>
<li class="nav-item"><a href="" class="nav-link" itemprop="sameAs" target="_blank"><i class="icon i-social-twitter i-3x">Twitter</i></a></li>
<li class="nav-item"><a href="" class="nav-link" itemprop="sameAs" target="_blank"><i class="icon i-social-google i-3x">Google Plus</i></a></li>
<li class="nav-item"><a href="" class="nav-link" itemprop="sameAs" target="_blank"><i class="icon i-social-instagram i-3x">Instagram</i></a></li>
</ul>
</div>
Note:
Chrome 56.0.2924.87 (64- )
Chrome 57.0.2987.21 beta (64- )