Project

General

Profile

Actions

Bug #7998

closed
KD

WTreeView scrollTop is not preserved

Bug #7998: WTreeView scrollTop is not preserved

Added by Korneel Dumon over 5 years ago. Updated almost 5 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.

RS Updated by Roel Standaert over 5 years ago Actions #1

  • Target version set to future

KD Updated by Korneel Dumon over 5 years ago Actions #2

KD Updated by Korneel Dumon over 5 years ago Actions #3

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

RS Updated by Roel Standaert over 5 years ago Actions #4

  • Status changed from Implemented @Emweb to Resolved

RS Updated by Roel Standaert about 5 years ago Actions #5

  • % Done changed from 0 to 100

RS Updated by Roel Standaert almost 5 years ago Actions #6

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom