Project

General

Profile

Actions

Bug #7998

closed

WTreeView scrollTop is not preserved

Added by Korneel Dumon almost 4 years ago. Updated about 3 years 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.

Actions #1

Updated by Roel Standaert almost 4 years ago

  • Target version set to future
Actions #3

Updated by Korneel Dumon over 3 years ago

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

Updated by Roel Standaert over 3 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #5

Updated by Roel Standaert over 3 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Roel Standaert about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF