You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Dimitar-Goshev
changed the title
setOptions method and maximize cause the page to scroll to previously scrolled position
Window setOptions method and maximize cause the page to scroll to previously scrolled position
Feb 23, 2021
Bug report
restore
andmaximize
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
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 therestore
method, which causes the stores inaccurate scroll position to the_documentScrollTop
and_documentScrollLeft
properties.A possible workaround is to call the
restore
method during theclose
event. http://dojo.telerik.com/EdiveEnvironment
The text was updated successfully, but these errors were encountered: