Closed tomdye closed 6 years ago
Other libraries that include input addons don't appear to include the addon in the hover/focus styles (e.g. https://getbootstrap.com/docs/4.0/components/input-group/). Might be good to get Scott's opinon.
Either way, I've updated form widgets to always append a .focused
class to the root node so more advanced focus styles are at least possible, even if we don't decide to implement them.
I agree that bootstrap does not include the add-on in it's focus ring, but it's the drop shadow that I found most troubling. It made it look like it was not part of the same component.
I've actually forgotten what was in the original comp, but either way I was planning to send this (and a couple others ) to Scott for his opinion when he has availability.
Talked with @sparrowspit, and decided to include the addons in both the hover shadow and focus outline
Bug
The onHover shadow / highlight on the text input does not extend to the addons. This makes them look like they are not a single input.