Skip to content

fix(carousel): bugfix for backwards compatibility with carousel and u…#227

Merged
korgon merged 2 commits intodevelopfrom
carousel-bugfix
Mar 7, 2026
Merged

fix(carousel): bugfix for backwards compatibility with carousel and u…#227
korgon merged 2 commits intodevelopfrom
carousel-bugfix

Conversation

@chrisFrazier77
Copy link
Contributor

…nprovided slidesPerGroup/view

Copilot AI review requested due to automatic review settings March 5, 2026 21:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Carousel component defaults to preserve legacy behavior while avoiding unintended overrides when consumers provide custom breakpoint settings.

Changes:

  • Make slidesPerGroup and slidesPerView default to 5 only when breakpoints is not provided.
  • Leave slidesPerGroup/slidesPerView unset when breakpoints is provided to avoid conflicting defaults.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chrisFrazier77 chrisFrazier77 requested a review from korgon March 5, 2026 22:09
@korgon korgon merged commit 8a86f4e into develop Mar 7, 2026
1 check passed
@korgon korgon deleted the carousel-bugfix branch March 7, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants