We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93c2641 + f0cb5d1 commit 230ca05Copy full SHA for 230ca05
1 file changed
src/AffixMixin.js
@@ -90,7 +90,7 @@ var AffixMixin = {
90
this.getPinnedOffset(DOMNode) : null;
91
92
if (affix === 'bottom') {
93
- DOMNode.className = DOMNode.className.replace(/affix-top|affix-bottom|affix/, 'affix-top');
+ DOMNode.className = DOMNode.className.replace(/affix-top|affix-bottom|affix/, 'affix-bottom');
94
affixPositionTop = scrollHeight - offsetBottom - DOMNode.offsetHeight - domUtils.getOffset(DOMNode).top;
95
}
96
0 commit comments