docs-content icon indicating copy to clipboard operation
docs-content copied to clipboard

Dropdown "behavior" prop description duplicates "multiple"

Open benlind opened this issue 2 years ago • 1 comments

On the dropdown page, in the props & attributes section, the description of the "behavior" prop seems to be incorrect:

When set to overscroll, the dropdown will allow the user to select multiple options.

That just duplicates the "multiple" prop:

When set to true, the dropdown will allow the user to select multiple options.

It should likely instead say something like "overscroll causes the options to scroll above the input."

Also, unrelatedly, it seems weird that "overscroll" is the only possible value for the "behavior" prop, even though there are many other props under the "behavioral" section on that page.

benlind avatar Aug 16 '23 16:08 benlind

@benlind Whoops! Thanks for letting me know. I'll get a fix up for that.

As for:

Also, unrelatedly, it seems weird that "overscroll" is the only possible value for the "behavior" prop, even though there are many other props under the "behavioral" section on that page.

I completely agree. You should just be able to set overscroll and maybe we deprecate behavior as a prop entirely. At some point we'll get a fix out for that.

sashamilenkovic avatar Aug 16 '23 16:08 sashamilenkovic