vmware-archive / clarity

Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
http://clarity.design
MIT License
6.43k stars 763 forks source link

Regular and compact outline buttons with dropdown do not resize according to the button text (Figma). #6628

Closed pnedkovavmware closed 2 years ago

pnedkovavmware commented 2 years ago

Describe the bug

Both regular and compact outline buttons with dropdown do not have auto layout, so they do not resize according to the button text.

How to reproduce

It's a Figma component error.

Steps to reproduce the behavior:

Just create an instance of the outline button component with a dropdown (compact or regular) and try to write a text whose width is longer than the component's width.

Expected behavior

The button should resize according to the text in it.

Versions

Clarity project:

Clarity version:

Framework:

Framework version: ie: Angular 11

Device:

Additional notes

Add any other notes about the problem here.

mathisscott commented 2 years ago

@colinreedmiller

github-actions[bot] commented 1 year ago

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.