Skip to content

Conversation

@oliverabrahams
Copy link
Contributor

@oliverabrahams oliverabrahams commented Dec 18, 2025

What does this change?

Adds a count state to the carousel which counts which card is being shown.
Adds a count component which uses a react portal to populate the count of scrolled cards.
Adds a count to scrollable products carousel up to mobile medium and then showing the navigation buttons.
Currently the navigation buttons handle their own visibility for mobile. This adds the option to control the visibility from the portalNode for Articles.

Associated with these PRs #15025 #14968

Screenshots

Screenshot 2025-12-19 at 15 47 36

@oliverabrahams oliverabrahams changed the base branch from main to oa/navigation-arrows December 18, 2025 12:15
@oliverabrahams oliverabrahams added the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@github-actions
Copy link

github-actions bot commented Dec 18, 2025

@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@oliverabrahams oliverabrahams added the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@oliverabrahams oliverabrahams marked this pull request as ready for review December 19, 2025 15:18
@github-actions
Copy link

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@oliverabrahams oliverabrahams changed the title Draft - Add count to product carousel Add count to product carousel Dec 19, 2025
…te the navigation buttons to not control their own visibility.
@oliverabrahams oliverabrahams force-pushed the oa/mobile-count-carousel branch from 659f258 to 6930ef2 Compare December 22, 2025 10:35
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.

2 participants