We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a688b87 commit e05a70fCopy full SHA for e05a70f
src/mixed/Dropdown.jsx
@@ -12,6 +12,7 @@ export function Dropdown({ children, items, onSelect, isOpen, onTouchStart, onMo
12
<div
13
className={formatClasses(['dropdown-menu', isOpen && 'show'])}
14
// aria-labelledby="dropdownMenuButton"
15
+ style={{ maxHeight: '200px', overflowY: 'auto' }}
16
>
17
{items.map(({ label, value }, index) => (
18
<a key={index} href="#" className="dropdown-item" onClick={safeClick(onSelect, { value, index, label })}>
0 commit comments