oddbird / oddbird/css-anchor-positioning

Bottom/right positions incorrect for certain inline targets

Open
#194 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Given an anchor function assigned to bottom or right properties on inline targets whose offset-parent is inline with clientHeight/clientWidth of 0, the positioning does not account for possible scrollbar width.

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

No file or test is named. Start by locating the anchor-positioning entry point for bottom/right calculations and inspect how inline targets, zero-sized offset parents, and scrollbar width are handled. Done means the incorrect inline-target positions are corrected and verified with a regression case for the described conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.