ionic-team / ionic-team/ionic-framework

feat: ion-segment - Add horizontal scroll buttons

Đang mở
#21,745 6 bình luận 3 reaction 0 người được giao Xem trên GitHub
package: core type: feature request
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

# 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.