Can not drag scrollBar when scroll stopped!

未关闭
#156 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
react, typescript
领域
frontend

调研方向

在禁用硬件加速的 macOS 上使用 Chrome 92,在链接的 rc-virtual-list Storybook 示例中重现该问题。检查滚动停止后虚拟列表滚动条的行为,然后验证滚动条是否仍然可以拖动,或者在不活动时是否始终保持隐藏。

由索引模型根据 Issue 内容生成。

描述

Navigator: chrome 92.0.4515.131 (x86_64)
System: Mac OS Big Sur 11.5 (20G71)

How to reproduction: Chrome's setting: close Hardware Acceleration !important
Now: Can not hover to drag scrollBar when scroll stopped; Can hover to drag when scrolling;
Expect: Can hover to drag scrollBar when scroll stopped; Or hide scrollBar when scroll stopped
Reproduction link: https://rc-virtual-list.react-component.vercel.app/?selectedKind=rc-virtual-list&selectedStory=basic&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

如何复现:关闭 chrome 设置里的“硬件加速”
现状:不滚动时不能拖动滚动条;滚动时能拖动滚动条
希望:不滚动时能正常拖动滚动条;或者不滚动时隐藏滚动条
复现地址: https://rc-virtual-list.react-component.vercel.app/?selectedKind=rc-virtual-list&selectedStory=basic&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

主要语言
TypeScript
星标
815
派生
175
平均合并
1 天 13 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

react-component/virtual-list 的其他 Issue

查看 react-component/virtual-list 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。