Dropdown: Don't pass getFloatingProps to content function (#115415)

* Dropdown: Revert accidential cahnge

* Update

* update
This commit is contained in:
Torkel Ödegaard
2025-12-16 17:54:49 +01:00
committed by GitHub
parent 6dd711b6f2
commit f64daba9dd
@@ -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>