flip

external fun flip(options: FlipOptions? = definedExternally): Middleware

Optimizes the visibility of the floating element by flipping the placement in order to keep it in view when the preferred placement(s) will overflow the clipping boundary. Alternative to autoPlacement.

See also

https

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


fun flip(init: FlipOptions.() -> Unit): Middleware

See also