[MGNLUI-6934] Added node is not not scrolled into view Created: 03/Nov/21  Updated: 03/Nov/21

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Jaromir Sarf Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File StepsToReproduce.gif    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Steps to reproduce

  1. https://demo.magnolia-cms.com/.magnolia/admincentral#app:jcr-browser-app
  2. Add node or property to file with many subitems, e.g. modules in config workspace

Expected results

Added node should be in view.

Actual results

Added node is not in view, user have to find the node.

Workaround

Collapse the parent node before adding a child.

Development notes

Looks like scroll to a last row doesn't work, but works like this:

grid.scrollTo(index - 1, ScrollDestination.MIDDLE);

Generated at Mon Feb 12 09:41:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.