Dropdown: Don't pass getFloatingProps to content function (#115415)
* Dropdown: Revert accidential cahnge * Update * update
This commit is contained in:
@@ -111,7 +111,7 @@ export const Dropdown = React.memo(({ children, overlay, placement, offset, root
|
||||
timeout={{ appear: animationDuration, exit: 0, enter: 0 }}
|
||||
classNames={animationStyles}
|
||||
>
|
||||
<div ref={transitionRef}>{renderOrCallToRender(overlay, { ...getFloatingProps() })}</div>
|
||||
<div ref={transitionRef}>{renderOrCallToRender(overlay, {})}</div>
|
||||
</CSSTransition>
|
||||
</div>
|
||||
</FloatingFocusManager>
|
||||
|
||||
Reference in New Issue
Block a user