[PAGES-46] Investigation for PAGES-41: Try proposed solution Created: 26/Nov/15 Updated: 11/Jan/16 Resolved: 11/Jan/16 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.4.3 |
| Type: | Story | Priority: | Neutral |
| Reporter: | Michael Mühlebach | Assignee: | Espen Jervidalo |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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)
|
||||||||
| Date of First Response: | |||||||||
| Sprint: | Basel 25 | ||||||||
| Story Points: | 5 | ||||||||
| Description |
|
Investigate in possible solutions for |
| Comments |
| Comment by Espen Jervidalo [ 08/Dec/15 ] |
|
info.magnolia.ui.vaadin.gwt.client.connector.PageEditorConnector#selectElement info.magnolia.ui.vaadin.gwt.client.editor.jsni.AbstractFrameEventHandler#initNativeTouchSelectionListener info.magnolia.ui.vaadin.gwt.client.editor.jsni.AbstractFrameEventHandler#initNativeMouseSelectionListener Update: There is another mechanism implemented to keep the scroll position in between page reloads: // registers a scroll listener on the wrapper around the iframe element. info.magnolia.ui.vaadin.gwt.client.widget.PageEditorViewImpl#initDomEventListeners // keeps track of the scroll position info.magnolia.ui.vaadin.gwt.client.editor.jsni.AbstractFrameEventHandler#initScrollListener // resets the scroll position to the last known one. info.magnolia.ui.vaadin.gwt.client.widget.PageEditorViewImpl#resetScrollTop // called in, so also on page-load when the page is selected info.magnolia.ui.vaadin.gwt.client.editor.event.SelectElementEventHandler#onSelectElement It should be possible to have the selected element (path?) stored somewhere and have it persisted between reloads, the same way the scroll position is preserved and than force-select that one instead of the page-element, as it's done now. |