saleor/macaw-ui

Multiselect: restrict badge max width

Closed this issue · 3 comments

What I'm trying to achieve

I want to restrict the max width of the badge inside the Multiselect component to prevent overflow badges with long text.

Describe a proposed solution

Each badge inside the Multiselect component should have a restricted max width. When the badge hits the specified width, the text should be cut off and we should show three dots.

Acceptance Criteria

  • Multiselect badge should have restricted width
  • When text in the badge is longer than max, we should see an ellipsis.
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue is stale because it has been open 14 days with no activity.

This issue was closed because it has been stalled for 2 days with no activity. You are still welcome to reopen it and continue from where you finished. Best regards Saleor team