Open
Description
I'm working with inputs that have a border radius:
And when the results are open I'd like to remove the bottom border radius from the input, to achieve:
However, there doesn't seem to be a class on the input when the results panel is open for me to do this.
The aria-expanded
attribute does change when the results panel has results, so I can do this:
.autocomplete__input[aria-expanded=true] {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
But not when the panel is open for the "no results" message. So it only half works:
This seems like a pretty common use case that could warrant adding a class for? Or perhaps aria-expanded
should be set to true
when the results panel is expanded showing "No results"?