ScrollTo not work in chrome extension
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
从链接的仓库中的 src/ui/pages/Account/SwitchAccountScreen.tsx 开始,在 Chrome 中复现使用多个账户进入页面的过程。跟踪 refList scrollTo 调用,并将结果与所选账户的索引进行比较。当页面打开时所选账户可见,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When creating multiple accounts, need to scroll to the selected account when entering the page.
useEffect(() => {
const timeoutId = setTimeout(() => {
if (refList.current && currentIndex >= 0) {
refList.current?.scrollTo({ index: currentIndex });
}
});
return () => clearTimeout(timeoutId);
}, []);
- 主要语言
- TypeScript
- 星标
- 813
- 派生
- 170
- 平均合并
- 10 天 14 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-component/virtual-list 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 58/100
react-component/virtual-list#325 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
react-component/virtual-list#303 ·
-
希望添加横向虚拟滚动未关闭
难度 5/5 一周以上 新手友好度 25/100
react-component/virtual-list#297 ·
-
难度 4/5 3-5 天 新手友好度 35/100
react-component/virtual-list#292 ·
-
难度 3/5 1-2 天 新手友好度 42/100
react-component/virtual-list#290 · 1 条评论 ·
查看 react-component/virtual-list 的全部 Issue
相似的 Issue
-
priority:high
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
immich-app/immich#32426 ·
维护者通常 1 天内回复
-
documentation good first issue hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 78/100
libredb/libredb-studio#1756 ·
维护者通常 1 天内回复
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复