Skip to content

fix: When <chip /> and <smtpad /> both have layer as bottom then the footprint should render it on the bottom layer#2359

Merged
imrishabh18 merged 1 commit into
mainfrom
fix-bottom-laer
May 31, 2026
Merged

fix: When <chip /> and <smtpad /> both have layer as bottom then the footprint should render it on the bottom layer#2359
imrishabh18 merged 1 commit into
mainfrom
fix-bottom-laer

Conversation

@imrishabh18
Copy link
Copy Markdown
Member

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tscircuit-core-benchmarks Ready Ready Preview, Comment May 31, 2026 5:37pm

Request Review

@imrishabh18 imrishabh18 changed the title fix: When the component <chip /> passed layer explicitly as bottom and the smtpads are also in bottom layer then the pads should appear on bottom fix: When <chip /> and <smtpad /> both have layer as bottom then the footprint should render it on the bottom layer May 29, 2026
@imrishabh18 imrishabh18 requested review from seveibar and removed request for seveibar May 29, 2026 22:22
Copy link
Copy Markdown
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

I get the idea here- i wonder if we need a footprint prop that basically says something like "primaryLayer" so that its more clear what layer the user was specifying the footprint for

@imrishabh18
Copy link
Copy Markdown
Member Author

I get the idea here- i wonder if we need a footprint prop that basically says something like "primaryLayer" so that its more clear what layer the user was specifying the footprint for

image

Even for this case when we have the originalLayer as bottom the pads are rendered on top, so this is another bug

@imrishabh18 imrishabh18 merged commit 6594220 into main May 31, 2026
10 checks passed
@imrishabh18 imrishabh18 deleted the fix-bottom-laer branch May 31, 2026 17:41
@tscircuitbot
Copy link
Copy Markdown
Contributor


Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants