`BitCarousel`: prev/next buttons outside the slides, and public navigation state

Đang mở
#15,394 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@msynk đang làm issue này rồi.

Từ ngày 20/11/2026.

Đánh giá

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

Mô tả

area / BlazorUI

Component: BitCarousel

The prev/next buttons can only sit over the slide edges, not in the controls row with the dots. CanGoNext() /
CanGoPrev() are private, so custom controls can't be disabled, and with InfiniteScrolling this can't be worked out
from CurrentPage / PagesCount.

Evidence: src/Websites/Careers/src/Bit.Websites.Careers.Client/Pages/HomePage.razor:54, 72-75 (HideNextPrev plus hand-made arrows), src/Websites/Careers/src/Bit.Websites.Careers.Client/Pages/HomePage.razor.cs:7, 13,
src/Websites/Careers/src/Bit.Websites.Careers.Client/Pages/HomePage.razor.scss:317-334 (empty / filled arrow images standing in for disabled / enabled)

Proposal: ButtonsPlacement (BitPlacement?, mirroring DotsPlacement; null keeps the edge overlay), and public
read-only CanGoNext / CanGoPrev.

Coverage: partial: custom arrow artwork goes through the existing PrevIcon / NextIcon and Classes.

Ngôn ngữ chính
C#
Star
1.4k
Fork
264
Merge trung bình
7 giờ 38 phút
Pull request đã merge (30 ngày)
544

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bitfoundation/bitplatform

Tất cả issue của bitfoundation/bitplatform

Issue tương tự

Thêm issue về C#

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.