-
Notifications
You must be signed in to change notification settings - Fork 408
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
clearButton and isValid Indicators Occupies Same Space #658
Labels
Comments
Hi @SonicMagna, thanks for filing this issue! I can indeed reproduce the problem. I'll need to think about an appropriate solution. |
HI @SonicMagna , I'm using this as a workaround: .rbt.has-aux .form-control.is-valid,
.rbt.has-aux .form-control.is-invalid {
background-position: right 1.6rem center;
} Which makes it look like this |
ericgio
added a commit
that referenced
this issue
Oct 30, 2021
Fixed in v6.0.0-alpha.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version:
react-bootstrap-typeahead: 5.2.0
Steps to reproduce:
A default installation using basic features and clearButton in conjunction with isValid/isInvalid (from here on I will only refer to isValid).
Use clearButton in conjunction with isValid.
Select an item from the list that will trigger both Clear and Valid.
Expected Behavior
Visual separation of the clearButton and isValid indicators.
Actual Behavior
The indicators will be visually on top of each other; in the same space at the right end of the input field.
I was able to replicate this in https://codesandbox.io/s/9jq9jyzmry simply by adding:
and selecting something from the list.
In my project I am attempting to change CSS stuff around to get it looking correct, but figured I would let you know of the out-of-box behavior.
Thanks for the effort! :)
The text was updated successfully, but these errors were encountered: