neos-ui icon indicating copy to clipboard operation
neos-ui copied to clipboard

Document tree does not scroll to focused nodes on deeper nested levels

Open Sebobo opened this issue 1 year ago • 0 comments

Description

Focused nodes on deeper levels in the document tree are not being scrolled too after the tree reloads / refreshes.

Steps to Reproduce

  1. Select a page node which is not a direct child of the site node and outside of the document trees viewport.
  2. Reload backend
  3. Focused node is outside viewport

Expected behavior

The scroll event triggers when the tree has fully loaded and the focused node is afterwards visible.

Actual behavior

The scroll event is triggered when the tree node has loaded, but the single focused node is loaded before the whole tree has loaded leading to the scroll event doing nothing as the node and its parents are displayed in that moment, but nothing else.

CleanShot 2024-06-20 at 14 50 01@2x

Affected Versions

Neos: 8.3 UI: 8.3

Sebobo avatar Jun 20 '24 12:06 Sebobo