Project

General

Profile

Bug #7998

WTreeView scrollTop is not preserved

Added by Korneel Dumon 6 months ago. Updated 5 months ago.

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

0%

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 6 months ago

  • Target version set to future
#3

Updated by Korneel Dumon 5 months ago

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

Updated by Roel Standaert 5 months ago

  • Status changed from Implemented @Emweb to Resolved

Also available in: Atom PDF