-
Notifications
You must be signed in to change notification settings - Fork 10
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
migrate to labels for search fields #262
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may want to re-add the cursor pointer since it's gone due to label
having higher specificity than the class in their parent-element.
If you change this to the following code, it should work:
.input-group,
.form-select,
.cursor-pointer,
label.input-group-text {
cursor: pointer;
}
# Conflicts: # src/components/search/autocompletion.tsx
Converting to a draft due to duplicate ids. |
We were previously manually querying for elements and controlling their focus state.
instead we'll use
label
elements and let that element handle it as intended.some
id
s are changed in this PR to try and ensure no conflicts if there are more than 1 search on the same page. we'll need to be more exhaustive about this in the future. maybe a lint rule could catch this.