autoPlacement

external fun autoPlacement(options: AutoPlacementOptions? = definedExternally): Middleware

Optimizes the visibility of the floating element by choosing the placement that has the most space available automatically, without needing to specify a preferred placement. Alternative to flip.

See also

https

://floating-ui.com/docs/autoPlacement


See also