We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7891aa4 commit ca654e4Copy full SHA for ca654e4
1 file changed
components/dash-core-components/src/fragments/Dropdown.tsx
@@ -436,7 +436,9 @@ const Dropdown = (props: DropdownProps) => {
436
onOpenAutoFocus={e => e.preventDefault()}
437
onKeyDown={handleKeyDown}
438
style={{
439
- maxHeight: maxHeight ? `${maxHeight}px` : 'auto',
+ maxHeight: maxHeight
440
+ ? `min(${maxHeight}px, calc(100vh - 100px))`
441
+ : 'calc(100vh - 100px)',
442
}}
443
>
444
{searchable && (
0 commit comments