generated from oddbird/polyfill-template
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In the spec and implementations, the position-try-fallbacks algorithm is only run when the currently applied fallback overflows. This differs from the polyfill, pre-release versions of Safari, and Floating UI, which falls back to the initial position as soon as possible.
To Reproduce
Steps to reproduce the behavior:
- Go to https://anchor-polyfill.netlify.app/#position-try
- Scroll to apply a fallback
- Polyfill: Scroll back slightly, and the target jumps back to the initial position immediately.
- Spec, implementations: Scroll back slightly, and the target does not return to the initial position.
Expected behavior
w3c/csswg-drafts#12682
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working