-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.24
-
None
-
Empty show more show less
-
Yes
-
AuthX 27, AuthX 28
-
3
Steps to reproduce
This behaviour can be reproduced on the demo page by doing the following:
- Go to the page https://demo.magnolia-cms.com/.magnolia/admincentral#app:pages-app:detail;/sportstation/about:edit
- Add a new component to the bottom of the page (scroll there first).
- You won't be displaced to the top afterwards (until here, everything is expected).
- Create a new element following the latest one (I was testing with HTML elements)
Expected results
As on the first created component, remaining on the newly created element would be the expected result.
Actual results
On the second created component (and subsequents) the view on the iframe is reset to being at the top of the screen.
Additional notes
This behavior, jumping to the top of the page, actually happens with several actions:
- creating a second component at the bottom of the page
- duplicate component action
- copy and paste component Â
We should test all scenarios to ensure the behaviour is consistent for the authorsÂ
Workaround
Development notes
- A similar issue wasÂ
PAGES-528, fixed in Magnolia 6.2.14. Customer also comments that this may be related to the shadow DOM and provided a small component example on the related ticket:
<script type="module" src="https://cms-components.dev.fe.union-investment.de/test_UMAGDXC-2631-magnolia-test-web-component/union-investment-cms-components/union-investment-cms-components.esm.js"> <ui-cms-test-component delay='5000' pixel='500'><p>Here is some Text</p></ui-cms-test-component>
- Test that the expected behavior is correct also with the Duplicate Component action
PAGES-703 - Test fix against SPA tooÂ
Acceptance criteria
- duplicates
-
PAGES-703 after "duplicate component" action, view jumps to top of page
- Closed
- relates to
-
PAGES-1067 Page editor always scrolls to top when component is added to the bottom
- Closed
1.
|
QA | Closed | Lam Nguyen Bao | |
2.
|
Fixing on duplicate, copy and paste component action | Completed | Thuy To | |
3.
|
QA | Closed | Miguel Martinez |