Skip to content

fix(web-components): fix anchor positioning for RTL#36321

Open
marchbox wants to merge 5 commits into
microsoft:masterfrom
marchbox:users/machi/fix-anchor-rtl
Open

fix(web-components): fix anchor positioning for RTL#36321
marchbox wants to merge 5 commits into
microsoft:masterfrom
marchbox:users/machi/fix-anchor-rtl

Conversation

@marchbox

Copy link
Copy Markdown
Contributor

Previous Behavior

Anchor positioned elements are incorrectly positioned on the inline axis in RTL.

Screenshot 2026-06-17 at 15 12 49

New Behavior

Fixed the position and made it more robust by using inside/outside keywords.

Screenshot 2026-06-17 at 15 12 55

@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown

📊 Bundle size report

✅ No changes found

@github-actions

Copy link
Copy Markdown

Pull request demo site: URL

@davatron5000 davatron5000 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. What's the browser support for inline/outside? Is that relatively new?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants