-
Bug
-
Resolution: Fixed
-
Normal
-
Freshly, 9.0.0
-
None
-
None
-
chrome,safari
-
None
Steps to Reproduce
load F90-ZK-4382.zul
Current Result
not scrolling to the target1 button after loading the page
Expected Result
target1 and the coachmark scroll into view
Debug Information
https://bugs.chromium.org/p/chromium/issues/detail?id=515257
chrome restore the history scroll position after coachmark scroll into view when the first time loading(refresh/back/forward).
ref: https://stackoverflow.com/questions/10742422/prevent-browser-scroll-on-html5-history-popstate
Workaround
https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration
<script>
if ('scrollRestoration' in history)
</script>