react-bootstrap/react-bootstrap — pull request #293 by pbt (2014-11-27 23:52:12+00:00)
Title: Add a few additional checks to checkPosition in Affix

I was using the affix component and I found that my component was uncontrollably flickering once I had scrolled past the affix's `offsetBottom` value.

I looked at Bootstrap's JS for the affix plugin and found that there were a few additional checks that weren't present in this Affix component. Including them in `checkPosition` fixed the flickering problem for me.