ionic-team / ionic-team/ionic-framework

feat: ion-segment - Add horizontal scroll buttons

Aperta
#21,745 6 commenti 3 reazioni 0 assegnatari Vedi su GitHub
package: core type: feature request
Lingua principale
TypeScript
Stelle
52.7k
Fork
13.3k
Merge medio
1g 15h
PR unite (30g)
51

Descrizione

# Feature Request

**Ionic version:**

[x] **4.x**

**Describe the Feature Request**
When having a larger number of ion-segment items that cannot be fitted on screen, we can enable property "scrollable", however it doesn't have any indication to the user that there are more elements / segments that are not showing. In other words, the user doesn't know that there are segments to scroll to that are not currently showing on the screen.

**Describe Preferred Solution**
Ideally, a property gets added to show scrollable buttons on far left and far right to indicate to the user that there are items hidden to the right or to the left. Example from the material ui library: https://material-ui.com/components/tabs/#forced-scroll-buttons

**Describe Alternatives** N/A

**Related Code** N/A

**Additional Context** N/A

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.