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

我的 页面 切换到收藏 tab下无法滚动问题 #96

Open
liyanjunCode opened this issue Jul 4, 2024 · 0 comments
Open

我的 页面 切换到收藏 tab下无法滚动问题 #96

liyanjunCode opened this issue Jul 4, 2024 · 0 comments

Comments

@liyanjunCode
Copy link

注意:请确认问题可以在浏览器的 无痕模式 下复现,而不是自己安装的其他插件或脚本导致的

1、描述
在我的页面 切换到收藏tab 无法滚动列表, 是因为 id为base-slide-wrapper的div元素被设置height不对,在getScrollAreaHeight函数中获取 scrollAreaHeight 时, 由于index 为3时使用了nextTick 异步获取 导致 外部获取的值始终为0,可使用await 和promise修复

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

1 participant