mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-11 09:26:55 +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. |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| queries/reports | ||
| serializers | ||
| services | ||
| views | ||