patternfly / patternfly/patternfly-react
Bug - FormFieldGroupExpandable - Horizontal line overlap, when no header is defined.
@jcmill 已经在做这个了。
开始于 2026年7月22日。
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
Describe the problem
This is an issue with
-
Patternfly 5
-
Patternfly 6
-
other
This is a CSS layout bug in PatternFly's FormFieldGroupExpandable component. When the optional header is not provided, the expand/collapse toggle icon overlaps with the component's top border.
The issue stems from how the component handles the absence of a header. The CSS styling appears to rely on the header's presence to create the necessary vertical space for the toggle icon (the caret >). When the header is omitted, this space collapses, causing the icon to be misaligned and render directly on top of the horizontal line.
How do you reproduce the problem?
https://codesandbox.io/p/devbox/boring-germain-98h679?workspaceId=ws_M4PEkPeCW7FD8LFeSHjZJQ
Expected behavior
The expand/collapse toggle icon should be vertically aligned and have sufficient padding to ensure it does not overlap with the component's top border. This alignment should be maintained even when the optional header prop is not provided, ensuring the component renders gracefully in all its valid configurations.
Is this issue blocking you?
No, this is a visual bug and does not block functionality.
Screenshots
(no header)
(just action button)
What is your environment?
This issue is likely independent of the environment and appears to be a component styling bug.
OS: macOS
Browser: Chrome
Version: Latest versions
What is your product and what release date are you targeting?
N/A
Any other information?
N/A
Jira Issue: PF-4528
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。