shift

fun shift(init: ShiftOptions.() -> Unit): Middleware

See also


external fun shift(options: ShiftOptions? = definedExternally): Middleware

Optimizes the visibility of the floating element by shifting it in order to keep it in view when it will overflow the clipping boundary.

See also

https

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