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

ActionList hide the first divider if there's hidden items in front of it. #2229

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

jonrohan
Copy link
Member

What are you trying to accomplish?

Before After
image image

What approach did you choose and why?

I'm using if there's a [hidden] ActionList-item, followed by a sectionDivider, then hide it.

Can these changes ship as is?

I believe so, but I'm not sure if this change might effect other uses of ActionList?

  • Yes, this PR does not depend on additional changes. 🚢

@jonrohan jonrohan requested a review from a team as a code owner August 30, 2022 18:08
@changeset-bot
Copy link

changeset-bot bot commented Aug 30, 2022

🦋 Changeset detected

Latest commit: ffcd962

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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 github-actions bot temporarily deployed to Storybook Preview August 30, 2022 18:15 Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview August 30, 2022 18:17 Inactive
Copy link
Contributor

@langermank langermank left a comment

Choose a reason for hiding this comment

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

I don't think this will break anything 😄 🤞

@jonrohan jonrohan merged commit 8a4c087 into main Aug 30, 2022
@jonrohan jonrohan deleted the action_list_hide_divider branch August 30, 2022 19:48
@primer-css primer-css mentioned this pull request Aug 30, 2022
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.

2 participants