Created by: alexander-akait
Bug if body shifted to the left or right affix becomes affix-top. And if affix in top(top = 0). But bottom condition:
if (offsetTop != null && scrollTop <= offsetTop) return 'top'
Created by: alexander-akait
Bug if body shifted to the left or right affix becomes affix-top. And if affix in top(top = 0). But bottom condition:
if (offsetTop != null && scrollTop <= offsetTop) return 'top'