mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-20 23:56:09 +08:00
`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. |
||
|---|---|---|
| .. | ||
| constants.js | ||
| d-menu-instance.js | ||
| d-toast-instance.js | ||
| d-tooltip-instance.js | ||
| float-kit-instance.js | ||
| get-scroll-parent.js | ||
| update-position.js | ||