AutoUpdateOptions

external interface AutoUpdateOptions

Properties

Link copied to clipboard

Whether to update the position when an overflow ancestor is resized. This uses the native resize event.

Link copied to clipboard

Whether to update the position when an overflow ancestor is scrolled.

Link copied to clipboard

Whether to update on every animation frame if necessary. Only use if you need to update the position in response to an animation using transforms.

Link copied to clipboard

Whether to update the position when either the reference or floating elements resized. This uses a ResizeObserver.

Link copied to clipboard
open var layoutShift: Boolean?

Whether to update the position when the reference relocated on the screen due to layout shift.