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

一屏多显的时候,设置setBannerCurrentItem(position),会偶发布局压扁(高度和两边的一致) #203

Open
LiuDongCai opened this issue May 20, 2021 · 3 comments

Comments

@LiuDongCai
Copy link

这是正常的
image
这是压扁的(高度和两边的一致)
image

如图,我点击地图上的marker,设置setBannerCurrentItem(position),会偶发布局压扁(高度和两边的一致),手指移动xbanner后高度会还原至正常。
另外,如果我这是setBannerCurrentItem(position,true),是不会出现这个情况的,高度一直正常。
但是我不需要设置smoothScroll为true,请问有什么办法解决吗?

@xiaohaibin
Copy link
Owner

这个感觉是动画设置问题,我看下如何修复一下

@LiuDongCai
Copy link
Author

好的,麻烦了,这个困扰好久了

@LiuDongCai
Copy link
Author

你好,想问下有找到解决方法吗?

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