Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Bug - [ToolbarFilter] - [the "clear all filters" button is not on the same row as filter labels]

未關閉
#11,982 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
58/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
react, typescript
領域
frontend

研究方向

先查看所連結的 PatternFly 文件中的 ToolbarFilter 元件和自訂標籤群組內容範例,然後使用提供的 CodeSandbox 重現版面配置。檢查篩選器和「Clear all filters」按鈕的排列方式,並確認該按鈕是否與篩選器標籤保持在同一列。

由索引模型根據 Issue 內容生成。

描述

Stale

Describe the problem
A clear and concise description of the problem. Which components are affected?
https://www.patternfly.org/components/toolbar
Toolbar component
How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.

When the filters from ToolbarFilter are created and added to the toolbar, they automatically create "Clear all filters" button. This button is pushed down below the filter labels. It should be on the same row.

The documentation show this issue
https://www.patternfly.org/components/toolbar#with-custom-label-group-content

Expected behavior
Clear all filters button is on the same row as filter labels

Is this issue blocking you?
I have a UI I am working on, and it's a requirement in my UX mocks.

Screenshots
If applicable, add screenshots to help explain the issue.

image

What is your environment?

  • OS: [e.g. iOS]

  • Browser [e.g. chrome, safari]

  • Version [e.g. 22]

What is your product and what release date are you targeting?

Any other information?


Jira Issue: PF-2594

主要語言
TypeScript
星號
862
分支
392
平均合併
4 天 8 小時
30 天內合併 PR
9

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

patternfly/patternfly-react 的其他 Issue

查看 patternfly/patternfly-react 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。