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(menu): active state for iconbutton #21666

Merged
merged 1 commit into from Mar 22, 2023

Conversation

pratikkarad
Copy link
Contributor

@pratikkarad pratikkarad commented Mar 18, 2023

Closes #21665

What I did

Controlled the active state on IconButton by taking into account the visibility changes on WithTooltip.

How to test

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@yannbf
Copy link
Member

yannbf commented Mar 20, 2023

Hey @pratikkarad thank you for your contribution! We'll take a look as soon as we can.

Copy link
Contributor

@valentinpalkovic valentinpalkovic left a comment

Choose a reason for hiding this comment

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

Well done!

@valentinpalkovic valentinpalkovic merged commit 2f8fac5 into storybookjs:next Mar 22, 2023
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: IconButton should be in active state when corresponding menu is open
3 participants