-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
BugC: WindowFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: MediumjQuery
Milestone
Description
Bug report
restore
and maximize
methods should restore the scroll position of the page. However, calling setOptions before that causes the page to be scrolled to the previous scroll position.
Reproduction of the problem
http://dojo.telerik.com/aMUrifis
- Click on Target 1;
- Close the Window;
- Scroll to Target 2 and click it;
- Close the window;
- Scroll back to top and click Target 1;
- Close the window
Current behavior
Page is scrolled to Target 2
Expected/desired behavior
The page ti keep its scroll position, where the user scrolled.
Details
setOptions
method calls the restore
method, which causes the stores inaccurate scroll position to the _documentScrollTop
and _documentScrollLeft
properties.
A possible workaround is to call the restore
method during the close
event. http://dojo.telerik.com/Edive
Environment
- Kendo UI version: 2019.3.1023
- jQuery version: 1.12.3
- Browser: [all]
Metadata
Metadata
Assignees
Labels
BugC: WindowFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: MediumjQuery