Skip to content

Commit 230ca05

Browse files
committed
Merge pull request react-bootstrap#210 from trentgrover-wf/affixFix
affix bottom bounds fix
2 parents 93c2641 + f0cb5d1 commit 230ca05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AffixMixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ var AffixMixin = {
9090
this.getPinnedOffset(DOMNode) : null;
9191

9292
if (affix === 'bottom') {
93-
DOMNode.className = DOMNode.className.replace(/affix-top|affix-bottom|affix/, 'affix-top');
93+
DOMNode.className = DOMNode.className.replace(/affix-top|affix-bottom|affix/, 'affix-bottom');
9494
affixPositionTop = scrollHeight - offsetBottom - DOMNode.offsetHeight - domUtils.getOffset(DOMNode).top;
9595
}
9696

0 commit comments

Comments
 (0)