Skip to content

Commit e05a70f

Browse files
committed
fix(forms): limit FormAutocomplete options window size
1 parent a688b87 commit e05a70f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mixed/Dropdown.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export function Dropdown({ children, items, onSelect, isOpen, onTouchStart, onMo
1212
<div
1313
className={formatClasses(['dropdown-menu', isOpen && 'show'])}
1414
// aria-labelledby="dropdownMenuButton"
15+
style={{ maxHeight: '200px', overflowY: 'auto' }}
1516
>
1617
{items.map(({ label, value }, index) => (
1718
<a key={index} href="#" className="dropdown-item" onClick={safeClick(onSelect, { value, index, label })}>

0 commit comments

Comments
 (0)