Re: [csswg-drafts] [css-anchor-position] fallback-position behavior: spec vs. expectation (#12682)

In Angular CDK it’s

’‘‘
reapplyLastPosition

This re-aligns the overlay element with the trigger in its last calculated
position, even if a position higher in the "preferred positions" list would
now fit. This allows one to re-align the panel without changing the
orientation of the panel.
’’’
Of FlexibleConnectedPositionStrategy

https://material.angular.dev/cdk/overlay/api

There are more interesting options like what should happen on navigation
(keep open or close) /scrolling etc.

W dniu sob., 30 sie 2025 o 17:32 Roman Komarov ***@***.***>
napisał(a):

> *kizu* left a comment (w3c/csswg-drafts#12682)
> <https://github.com/w3c/csswg-drafts/issues/12682#issuecomment-3239346226>
>
> @kbrilla <https://github.com/kbrilla> I agree that this should be an
> option. However, I did not see that as an option neither in popper.js (
> https://popper.js.org/docs/v2/modifiers/flip/) or Floating UI (
> https://floating-ui.com/docs/flip). Both behave like Safari by default.
> If I missed this option, and if you have a link to an example that behaves
> like Chrome, it would be great to have a link to it!
>
> @tabatkins <https://github.com/tabatkins> I think both the survey and the
> default behavior of existing libraries show that the behavior that was
> implemented in Safari is what many authors expect. When people start trying
> to replace existing libraries, if we don't provide this option from the
> start, they won't be able to do so, as it will mean a change in behavior.
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/csswg-drafts/issues/12682#issuecomment-3239346226>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AFKBQQMJDNIVD4BW4CYMN2L3QG7ZDAVCNFSM6AAAAACFFENC7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMZZGM2DMMRSGY>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>


-- 
GitHub Notification of comment by kbrilla
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12682#issuecomment-3239474489 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 30 August 2025 19:08:07 UTC