patternfly / patternfly/patternfly-react

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

Aperta
#11,982 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Stale
Lingua principale
TypeScript
Stelle
862
Fork
392
Merge medio
4g 8h
PR unite (30g)
9

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con il componente ToolbarFilter e l’esempio di contenuto del gruppo di etichette personalizzato nella documentazione PatternFly collegata, quindi riproduci il layout usando il CodeSandbox fornito. Controlla come sono disposti i filtri e il pulsante "Clear all filters" e verifica che il pulsante rimanga sulla stessa riga delle etichette dei filtri.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
58/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.