Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

移动端页面引入vue.js后,浏览器后退滚动条回到顶部 #9133

Closed
haodaking opened this issue Dec 3, 2018 · 1 comment
Closed

Comments

@haodaking
Copy link

Version

2.5.17

Reproduction link

https://haodaking.github.io/demos/vue/2.html

Steps to reproduce

1、移动端浏览器打开https://haodaking.github.io/demos/vue/2.html
2、页面滑动到底部点击“跳转”链接
3、点击浏览器后退按钮

What is expected?

页面跳转后,浏览器后退,滚动条恢复原来位置。
正常页面:
https://haodaking.github.io/demos/vue/1.html

What is actually happening?

数据异步渲染,页面跳转后,浏览器后退,滚动条滑到了最顶部。


设备:iPhone XS;
系统:IOS 12.1;
浏览器:Safari;

@haoqunjiang
Copy link
Member

Duplicate of #8109

@haoqunjiang haoqunjiang marked this as a duplicate of #8109 Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants