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

replace unmaintained chip-input lib #61

Merged
merged 4 commits into from
Mar 18, 2022
Merged

Conversation

MoSattler
Copy link
Contributor

@MoSattler MoSattler commented Mar 14, 2022

@vercel
Copy link

vercel bot commented Mar 14, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/stateful/vscode-marquee/GDLyom89JtEpCpbsZtPFHwiEd8uK
✅ Preview: Canceled

[Deployment for 6ef1b43 canceled]

@MoSattler
Copy link
Contributor Author

MUI noob here: what's the best way to prevent the label-adornment overlap from happening? Any advice @christian-bromann ?

Screenshot 2022-03-14 at 12 41 53


const tagToRemove = screen.getByRole("button", { name: tagToRemoveLabel });

userEvent.click(tagToRemove.querySelector("svg")!);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately the MUI Chip (and MUI generally) has not the greatest a11y (as they admit themselves), which makes it also harder to test at times. So I have to directly address the svg tag.

Interestingly in their own tag, they swap out the default delete icon to test it.

@MoSattler MoSattler force-pushed the replace-chip=input branch from a4ff293 to 6ef1b43 Compare March 17, 2022 10:35
@MoSattler MoSattler marked this pull request as ready for review March 17, 2022 10:35
Copy link
Contributor

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

Awesome 👍

@christian-bromann christian-bromann merged commit de49962 into main Mar 18, 2022
@christian-bromann christian-bromann deleted the replace-chip=input branch March 18, 2022 08:06
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.

2 participants