discourse/app/assets/javascripts/float-kit/addon/lib
Kelv 0005565fb3
DEV: allow floatkit components to accept autoPlacement as a placement strategy (#33783)
`flip` and `autoPlacement` are [mutually exclusive
middleware](https://floating-ui.com/docs/autoplacement#conflict-with-flip)
dealing with placement. While our current Floatkit design uses `flip` by
default, there may be use cases where we want to specify using
`autoPlacement` instead.

Terming this as a choice of `visibilityOptimizer` which borrows from
floating-ui terminology of middleware that deals with `visibility
optimization`, while deconflicting with an existing `placementStrategy`
option in select-kit that is unrelated to this.
2025-07-24 11:04:51 +08:00
..
constants.js DEV: allow floatkit components to accept autoPlacement as a placement strategy (#33783) 2025-07-24 11:04:51 +08:00
d-menu-instance.js FEATURE: rich editor link ui for editing it (#32583) 2025-06-11 08:51:27 -03:00
d-toast-instance.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
d-tooltip-instance.js DEV: Do not trigger floatkit 'hover' for touch events (#30793) 2025-01-16 12:36:47 +00:00
float-kit-instance.js DEV: Update lint-configs and autofix issues (#31620) 2025-03-05 01:20:16 +01:00
get-scroll-parent.js DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
update-position.js DEV: allow floatkit components to accept autoPlacement as a placement strategy (#33783) 2025-07-24 11:04:51 +08:00