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

NProgress configure导致使用Http请求时自动滚动到顶部问题 #52

Closed
muyuanqiang7 opened this issue Mar 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@muyuanqiang7
Copy link

NProgress.configure({ // 动画方式 easing: "ease", // 递增进度条的速度 speed: 500, // 是否显示加载ico showSpinner: false, // 自动递增间隔 trickleSpeed: 200, // 初始化时的最小百分比 minimum: 0.3, // 加载条的父元素 parent: "#app" });
这个配置加载条的父元素为app会导致在界面在van-list滚动到底部加载完毕时自动滚动到界面顶部.或者是在界面过长时操作http请求都会导致自动滚动到界面的top

@M69W
Copy link

M69W commented Mar 6, 2024

如果能提供重现代码最好?
这个模版提供也是一个示例而已,
意思是根据自己需求做对应的改动

@yulimchen yulimchen added the bug Something isn't working label Mar 7, 2024
@miaosen
Copy link

miaosen commented May 20, 2024

js版本没改到

@yulimchen
Copy link
Owner

已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants