Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(OptionTile): animation flicker when collapsing options tile #5458

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

amal-k-joy
Copy link
Contributor

Closes #5410

[OptionsTile]: animation flicker when collapsing options tile

What did you change?

root cause : after the animation is finished , isOpen is still true until onFinish callback is triggered.For that minute duration , collapsed content will again show causing the flickering.
To avoid this , isOpen is set to false after the 90% of animation completion.

How did you test and verify your work?

Local storybook

@amal-k-joy amal-k-joy requested a review from a team as a code owner June 11, 2024 06:11
@amal-k-joy amal-k-joy requested review from ariellalgilmore and sangeethababu9223 and removed request for a team June 11, 2024 06:11
Copy link

netlify bot commented Jun 11, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 27a4a88
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/6667ea9b35bbf10008be28fe
😎 Deploy Preview https://deploy-preview-5458--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@anamikaanu96 anamikaanu96 left a comment

Choose a reason for hiding this comment

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

Approved!

@amal-k-joy amal-k-joy added this pull request to the merge queue Jun 14, 2024
Merged via the queue into carbon-design-system:main with commit 0be8378 Jun 14, 2024
19 checks passed
@amal-k-joy amal-k-joy deleted the optionTile_5410 branch June 14, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OptionsTile]: animation flicker when collapsing options tile
4 participants