mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-10 00:38:13 +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. |
||
|---|---|---|
| .. | ||
| components | ||
| lib | ||
| modifiers | ||
| services | ||