Skip to content

Conversation

@devongovett
Copy link
Member

Fixes an issue seen in the prod build of the docs where the chevron is on the wrong side of the button. https://react-spectrum.adobe.com/react-spectrum/ActionGroup.html#selection-1

.spectrum-ActionGroup-menu {
.spectrum-ActionGroup-menu-chevron {
/* specificity must be higher than `.spectrum-ActionButton .spectrum-Icon` */
svg.spectrum-ActionGroup-menu-chevron {
Copy link
Member

Choose a reason for hiding this comment

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

i think previously we've handled it like
.spectrum-ActionGroup-menu-chevron.spectrum-ActionGroup-menu-chevron otherwise we could run into an issue if someone is doing flags and uses an img

Copy link
Member Author

Choose a reason for hiding this comment

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

it's a hard coded chevron, not user provided...

Copy link
Member

Choose a reason for hiding this comment

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

o, ok, then carry on

@adobe-bot
Copy link

Build successful! 🎉

Copy link
Member

@snowystinger snowystinger left a comment

Choose a reason for hiding this comment

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

lgtm

@dannify dannify merged commit 211dfbf into main Jun 15, 2021
@dannify dannify deleted the actiongroup-specificity branch June 15, 2021 00:00
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.

6 participants