Affix position doesn't reset when scrolling back up
Created by: EnzoMartin
Issue occurs when using a top and bottom offset and scrolling all the way down so that the Affix gets the .affix-bottom
class and a style tag with position:relative;
. When you scroll back up, it doesn't remove the style tag with position:relative;
which thus overrides the .affix
class's position:fixed
and makes it snap to the top of the page instead of affixing smoothly like when scrolling down
Fiddle: http://jsfiddle.net/H9D4P/