Skip to content
Permalink
Browse files

Fix: don't reset scroll position when table is redrawn with "full-hold"

  • Loading branch information...
PoByBolek committed Jun 27, 2018
1 parent 7dc5c7a commit f90ce6629a7d92be72d7f9d416ff68be8b9650fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/dataTables.scroller.js
@@ -871,7 +871,7 @@ $.extend( Scroller.prototype, {
this.s.skip = true;

// If paging is reset
if ( (this.s.dt.bSorted || this.s.dt.bFiltered) && displayStart === 0 ) {
if ( (this.s.dt.bSorted || this.s.dt.bFiltered) && displayStart === 0 && !this.s.dt._drawHold ) {
this.s.topRowFloat = 0;
}

0 comments on commit f90ce66

Please sign in to comment.
You can’t perform that action at this time.