diff --git a/src/components/Dropdown/DropdownMenu.react.js b/src/components/Dropdown/DropdownMenu.react.js index aa20e94e..a6d34020 100644 --- a/src/components/Dropdown/DropdownMenu.react.js +++ b/src/components/Dropdown/DropdownMenu.react.js @@ -41,7 +41,7 @@ function DropdownMenu({ arrowPosition = "left", style, rootRef, - show, + show = false, }: Props): React.Node { const classes = cn( { @@ -53,21 +53,22 @@ function DropdownMenu({ className ); return ( - - {({ ref, style, placement, scheduleUpdate }: PopperChildrenProps) => { - scheduleUpdate(); - return ( -
- {children} -
- ); - }} -
+ show && ( + + {({ ref, style, placement }: PopperChildrenProps) => { + return ( +
+ {children} +
+ ); + }} +
+ ) ); }