Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Split Button not Rendering for smaller screens #4100

Open
nickytonline opened this issue Sep 11, 2024 · 2 comments
Open

Bug: Split Button not Rendering for smaller screens #4100

nickytonline opened this issue Sep 11, 2024 · 2 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@nickytonline
Copy link
Member

Describe the bug

We shipped the split button to replace the Add to Workspace and Create Workspace from SBOM buttons on a repository page, but missed adding it for smaller screens.

Steps to reproduce

  1. Go to any repository page and shrink the page width until it hits the smallest breakpoint.

CleanShot 2024-09-11 at 07 52 43

@nickytonline nickytonline added the 🐛 bug Something isn't working label Sep 11, 2024
Copy link
Contributor

Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.

To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please comment on this issue.

For full info on how to contribute, please check out our contributors guide.

@zeucapua
Copy link
Contributor

I believe this is due to the mobile view using AddToWorkspaceDrawer has it's own trigger prop that requires a button and there are no other way to trigger it. Let me look into the drawer library and see if there's a workaround to opening the drawer from somewhere other than the trigger. Initial thoughts: maybe use a ref to the button?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants