样式能否不污染全局
还没有人认领这个 Issue。
评估
调研方向
打开 assets/index.less 的第 3 行,检查通用 box-sizing 选择器是如何应用的。将选择器限定在组件的 select-prefix 内,使其不再影响无关的页面组件,然后验证 Select 样式仍能正常工作且不会造成全局污染。
由索引模型根据 Issue 内容生成。
描述
* {box-sizing: border-box;}
这选择器影响范围太大,容易对页面其他组件进行污染,应收到select-prefix内部
- 主要语言
- TypeScript
- 星标
- 940
- 派生
- 485
- 平均合并
- 8 小时 4 分钟
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-component/select 的其他 Issue
-
Select: custom `popupRender` content stays stale after the dropdown closes, with no way to opt out未关闭
难度 3/5 1-2 天 新手友好度 58/100
react-component/select#1261 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
react-component/select#1216 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
react-component/select#1159 ·
-
a11y 问题未关闭
难度 3/5 1-2 天 新手友好度 35/100
react-component/select#1087 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
react-component/select#1086 ·
查看 react-component/select 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Chocobozzz/PeerTube#7901 ·
维护者通常 3 天内回复
-
area:tools bug has repro
难度 2/5 1-3 小时 新手友好度 86/100
anthropics/claude-code#113984 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ehmpathy/declapract-typescript-ehmpathy#960 ·
维护者通常 1 天内回复
-
area/web platform/windows type/bug version/v2
难度 2/5 1-3 小时 新手友好度 65/100
anomalyco/opencode#68237 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100