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

Search box should have rounded left/start border when only one search field is configured #3448

Closed
corylown opened this issue Nov 21, 2024 · 0 comments · Fixed by #3450
Closed
Assignees

Comments

@corylown
Copy link
Contributor

corylown commented Nov 21, 2024

Current behavior:
Screenshot 2024-11-21 at 8 35 24 AM

Expected behavior:
Screenshot 2024-11-21 at 8 56 22 AM

There are two problems. When only one search field is configured the SearchBarComponent sets the rounded-left class on the input element. It also needs to set the rounded-start class for Bootstrap 5. But this only fixes the problem when autocomplete is turned off. If autocomplete is turned on the border is set on the autocomplete element so the rounded-left and rounded-start classes need to be set there as well for this to work when autocomplete is on.

Border set on autocomplete element:
Screenshot 2024-11-21 at 8 54 27 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant