Project

General

Profile

Bug #7998

WTreeView scrollTop is not preserved

Added by Korneel Dumon 9 months ago. Updated 2 months ago.

Status:
Resolved
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 9 months ago

  • Target version set to future
#3

Updated by Korneel Dumon 8 months ago

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

Updated by Roel Standaert 8 months ago

  • Status changed from Implemented @Emweb to Resolved
#5

Updated by Roel Standaert 2 months ago

  • % Done changed from 0 to 100

Also available in: Atom PDF