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

fix: replace whitespace with a - so that ids are valid and scroll-to works #4601

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TomPridham
Copy link
Contributor

I couldn't find an existing issue. I noticed the scrollto behavior didn't work for keybind settings that included whitespace because they were generating invalid ids, e.g. id="categoryCommand Palette". It isn't a problem for the User settings because the display strings were decamelized object properties
before:
Screencast from 2024-11-27 13-30-48.webm
after:
Screencast from 2024-11-27 13-32-29.webm

Copy link

qa-wolf bot commented Nov 28, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Nov 28, 2024 5:19am

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.

1 participant