Affix does not stop correctly at the footer

Asked

Viewed 105 times

2

I’m trying to create an Affix with Bootstrap but I’m having trouble getting it to stop properly in the footer.

He bends, and the class .affix-bottom is not applied correctly. When step offset bottom rotating the scroll it to normal, but if I go down dragging the scroll bar it does not stop.

And also when it comes to getting back up, it gets applied the position:relative that makes the class impossible .affix to function properly on the rise.

Demonstration

1 answer

0


There was an error in css, fixed .affix-bottom.{ for .affix-bottom{.

Corrected

PS.: Sorry for the lack of attention, but I spent all morning fighting with this "silly".

Browser other questions tagged

You are not signed in. Login or sign up in order to post.