Skip to content

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

Open

Description

@liyanjunCode

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions