Skip to content

Commit 79137e8

Browse files
committed
Fix autosizing.
1 parent 7e09396 commit 79137e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/drops/menu/dropdown.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const Dropdown = ({
2424
hasSearch,
2525
searchMargin = [4],
2626
gap = 0,
27-
width = "300px",
2827
estimateSize = defaultEstimateSize,
2928
close,
3029
...rest
@@ -69,6 +68,7 @@ const Dropdown = ({
6968
margin={[1, 0]}
7069
column
7170
tabindex="-1"
71+
width="auto"
7272
{...rest}
7373
>
7474
{hasSearch && (
@@ -87,7 +87,6 @@ const Dropdown = ({
8787
style={{
8888
height: "100%",
8989
overflow: "auto",
90-
width,
9190
}}
9291
>
9392
<div

0 commit comments

Comments
 (0)