ionic-team / ionic-team/ionic-framework

feat: ion-segment - Add horizontal scroll buttons

Abierto
#21,745 6 comentarios 3 reacciones 0 asignados Ver en GitHub
package: core type: feature request
Lenguaje dominante
TypeScript
Estrellas
52.7k
Forks
13.3k
Merge medio
1 d 15 h
PR fusionados (30 d)
51

Descripción

# 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.