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

刷新头部错位 #4

Open
zhzhh7378 opened this issue Sep 16, 2019 · 5 comments
Open

刷新头部错位 #4

zhzhh7378 opened this issue Sep 16, 2019 · 5 comments

Comments

@zhzhh7378
Copy link

image
布局经常会出现这样的情况 点击一下就正常了。刷新头部会飘到下面。我猜测是页面创建时的高度计算问题。

@zhzhh7378
Copy link
Author

image
tab页加了keepalive 是不是这个headerbottom值初始化的问题。

@wulei666
Copy link

wulei666 commented Dec 6, 2019

上拉加载,下拉刷新,loding的这个icon会错位,会到处乱飘。

@wzq11015219
Copy link

上拉加载,下拉刷新,loding的这个icon会错位,会到处乱飘。

咋解决的?

@zhzhh7378
Copy link
Author

临时解决方法,因为我手机端app使用了keep-alive标签缓存页面。所以在页面组件的activated生命周期方法添加重新计算高度方法,bug出现的机率小了很多。代码如下 activated() { this.$refs.jxrefresh.onResize(); } ,
.onResize();是这个库组件的私有方法,但是也能调用。但是还是希望作者能找到bug真正的原因进行修复。

@wulei666
Copy link

wulei666 commented Mar 2, 2020

上拉加载,拖动刷新,loding的这个图标会错位,会到处乱飘。

咋解决的?

没有解决,我把loding的这个动画时间设置为了0s,

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

3 participants