oddbird / oddbird/css-anchor-positioning
Bottom/right positions incorrect for certain inline targets
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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