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

在虚拟列表模式下,ListItem 开启自适应尺寸,使用scrollTo滚动到指定项会导致滚动内容出现错乱 #30

Open
Bophie opened this issue Oct 26, 2021 · 1 comment

Comments

@Bophie
Copy link

Bophie commented Oct 26, 2021

在虚拟列表模式下,ListItem 开启自适应尺寸,使用scrollTo滚动到指定项会导致滚动内容出现错乱。

ListItem 高度不同(所以才开启了自适应尺寸)。
使用 scrollTo(id) 后能滚动到指定位置,但可能会出现 item 丢失的情况(没正常显示)。
使用 updateAll() 可以使得显示变成正常,但滚动时却不正常(滚动的位置上下跳,不能正常滚动)。

@BingzhaoChen
Copy link

请问你有解决吗

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