Skip to content

Commit f0cb5d1

Browse files
affix bottom bounds fix
1 parent dfeeb21 commit f0cb5d1

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)