Skip to content

Conversation

@jzempel
Copy link
Member

@jzempel jzempel commented Dec 4, 2024

Description

The addition of a child element to the story's custom tags ensures truncation behaves like it would in the default case.

Detail

Before

Screenshot 2024-12-04 at 2 57 27 PM

After

Screenshot 2024-12-04 at 2 58 55 PM

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • renders as expected in dark mode
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@coveralls
Copy link

Coverage Status

coverage: 95.657%. remained the same
when pulling c031648 on jzempel/combobox-story
into 480a7b6 on main.

</span>
</Tag.Avatar>{' '}
{option.tagProps?.children || toLabel(option)}
<span>{option.tagProps?.children || toLabel(option)}</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's remember to update the Website example too. 😉

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, good call.

@jzempel jzempel merged commit f345fa1 into main Dec 4, 2024
9 checks passed
@jzempel jzempel deleted the jzempel/combobox-story branch December 4, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants