Project

General

Profile

Bug #7998

WTreeView scrollTop is not preserved

Added by Korneel Dumon about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
01/26/2021
Due date:
% Done:

100%

Estimated time:

Description

When sorting a tree-view, it can happen that the scroll position is lost.

When sorting, the html of treeview is first entirely deleted and then later re-assigned. In some cases, the browser will synchronously process DOM changes, for example when the clientHeight of an element is used somewhere, it will first process all pending DOM-changes to calculate the most accurate result. When this happens in between deleting and re-building the tree-view, scrollTop is lost.

#1

Updated by Roel Standaert about 2 years ago

  • Target version set to future
#3

Updated by Korneel Dumon about 2 years ago

  • Status changed from New to Implemented @Emweb
  • Target version changed from future to 4.5.1
#4

Updated by Roel Standaert about 2 years ago

  • Status changed from Implemented @Emweb to Resolved
#5

Updated by Roel Standaert over 1 year ago

  • % Done changed from 0 to 100
#6

Updated by Roel Standaert over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF