I have a page using Bootstrap 3 and Snap.js library (https://github.com/jakiestfu/Snap.js/).
I need to have a navbar with affix.
Unfortunately, affix seems to work using window.scroll
element, that is not working in this case (i'm wondering why, if I log window.pageYOffset
every second it remains fixed to zero and it never fires window.onscroll
trigger.).
Is there any way to bind Affix to the scrolling of an inner element?
(similar issue: Bootstrap Affix not working inside an Iframe)