Skip to content

Conversation

@vietanhtran16
Copy link
Contributor

@vietanhtran16 vietanhtran16 commented Oct 16, 2025

Important: Request PR reviews on Slack

Please reach out to the design system team on Slack in #prod_design_system for PR reviews. GitHub notifications (e.g. from tagging a person) are not actively monitored.
We often have flaky stories which use the Tablist as the snapshot would randomly have the TabList arrow visible when it shouldn't.

From testing canary and re-run chromatic a few times, looks like requestAnimationFrame was the trick to fix it

Why

We have been having issue with the left and right arrow of TabList being flaky in chromatic snapshot (like this one) when they are visible when they shouldn't.

Tested as canary in conversations-ui after a few chromatic runs, requestAnimation seems to have fixed it

What

@changeset-bot
Copy link

changeset-bot bot commented Oct 16, 2025

🦋 Changeset detected

Latest commit: b38229e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@kaizen/components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Oct 16, 2025

✨ Here is your branch preview! ✨

Last updated for commit b38229e: Remove redundant null check in TabList

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.

1 participant