Skip to content

Fix package details dialog stacking in Import Component flow#3197

Merged
rushabhcodes merged 4 commits intotscircuit:mainfrom
mohan-bee:fix-branch-dialog-clean
Apr 23, 2026
Merged

Fix package details dialog stacking in Import Component flow#3197
rushabhcodes merged 4 commits intotscircuit:mainfrom
mohan-bee:fix-branch-dialog-clean

Conversation

@mohan-bee
Copy link
Copy Markdown
Contributor

Before:

Screen.Recording.2026-04-23.at.12.46.46.AM.mov

After:

Screen.Recording.2026-04-23.at.12.45.58.AM.mov

Fixes the Import Component package details view so clicking “See Details” no longer appears broken when the details dialog opens behind the search dialog.

The issue was caused by the search dialog using a higher z-index than the package details dialog, which left the details dialog mounted but hidden in the visual stack. This change raises the details dialog z-index above the search dialog.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

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

Project Deployment Actions Updated (UTC)
runframe Ready Ready Preview, Comment Apr 23, 2026 5:28am

Request Review

Copy link
Copy Markdown
Contributor

@rushabhcodes rushabhcodes left a comment

Choose a reason for hiding this comment

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

why is the zIndex this high?

@mohan-bee
Copy link
Copy Markdown
Contributor Author

why is the zIndex this high?

the search dialog is already having a z index of 101 so i am keeping 102

Copy link
Copy Markdown
Member

@imrishabh18 imrishabh18 left a comment

Choose a reason for hiding this comment

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

Don't hardcode the z-index, I remember there is some file which maintains the z-index's of component add there and then use it here

@mohan-bee
Copy link
Copy Markdown
Contributor Author

@imrishabh18 is the naming ok ? dialogAbove

@imrishabh18
Copy link
Copy Markdown
Member

@imrishabh18 is the naming ok ? dialogAbove

No, can you make it more descriptive. Even the other property name is not good enough

@rushabhcodes rushabhcodes merged commit 8a4236f into tscircuit:main Apr 23, 2026
5 checks passed
@tscircuitbot
Copy link
Copy Markdown
Collaborator


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.

5 participants