patternfly / patternfly/patternfly-react
Bug - ClipboardCopy - ClipboardCopyToggle has a div within a button
未关闭
还没有人认领这个 Issue。
Breaking change :boom:
PF Team
Waiting for core
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
Followup to https://github.com/patternfly/patternfly/issues/6019
Describe the problem
ClipboardCopy's expansion toggle currently has a div within a button, which is invalid markup.
Expected behavior
The pf-v5-c-clipboard-copy__toggle-icon element should be a span rather than a div.
Jira Issue: PF-111
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 ClipboardCopyToggle 组件开始,定位 pf-v5-c-clipboard-copy__toggle-icon 元素。确认 toggle 渲染出的标记,将该元素改为 span,并验证展开 toggle 的按钮内不再包含 div。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 58/100