oddbird / oddbird/css-anchor-positioning

[BUG] Pseudo-element anchor demo is broken

Open
#278 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug demo-site
Dominant language
TypeScript
Stars
493
Forks
18
Avg merge
12h 37m
Merged PRs (30d)
5

Description

I'm not (yet) sure if the demo is broken, or (more likely) something in the polyfill is broken...

https://anchor-positioning.oddbird.net/#anchor-pseudo-element

Browsers tested on

FF 132

The target is correctly positioned initially, but it does not update when its scroll container is scrolled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the anchor-pseudo-element demo at https://anchor-positioning.oddbird.net/#anchor-pseudo-element in Firefox 132 and reproduce the behavior while scrolling its container. Trace the polyfill behavior for the pseudo-element anchor and verify that the target updates during scrolling without breaking its initial positioning.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.