autoPlacement

external fun autoPlacement(options: AutoPlacementOptions, dependencies: DependencyList = definedExternally): Middleware(source)

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. API Docs