Skip to content

Commit a1c2fd8

Browse files
committed
Fix accidental overlap
1 parent 695912d commit a1c2fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/editor/scroller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Scroller.prototype._onScroll = function(){
119119
this.jumpToBottom = true;
120120
this.sticky = true;
121121
this.dirty = true;
122-
}else if(this.sticky && scrollTop + height < scrollHeight - 40){
122+
}else if(this.sticky && scrollTop + height - 40 < scrollHeight){
123123
this.sticky = false;
124124
}
125125

0 commit comments

Comments
 (0)