[PAGES-439] Jumpy/erratic scrolling of page editor after some actions Created: 25/May/21  Updated: 23/Feb/22  Resolved: 23/Feb/22

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: 6.2.9
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Adam Siska Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to PAGES-438 Pages editor should remember last pos... Closed
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)

 Description   

The latest bug tickets PAGES-381 and PAGES-433 point out a more general issue with erratic and often confusing scrolling of page editor when selecting areas or editing them by dialogs (scrolling after dialog save/close). We might improve the behaviour of page editor in some ways:

1. there should be defined way what to do after saving component dialog with component position (e.g. the edited selected component could be intentionally scrolled out before opening edit dialog)

2. selecting area/component should show green panel if that is not visible (but not in a case, it would scroll out the current content out of the screen, see PAGES-433)

3. adding a component should focus and bring new component in a view (what about copy-pasting components? the selected area is the same, thus added component is not even selected)

4. we also might want to preserve scrolling position of page when switching between pages app tabs PAGES-438

Dev notes:

  • for more info see tickets above
  • info.magnolia.ui.vaadin.gwt.client.editor.jsni.scroll.ElementScrollPositionPreserver

Generated at Mon Feb 12 06:18:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.