single-dropdown shows focus rectangle when :disabled? true
Opened this issue · 1 comments
hipitihop commented
superstructor commented
This is because:
- the browser has default 'user agent' styles for focus like:
:focus {
outline: -webkit-focus-ring-color auto 1px;
}
- for 'native input' components such as
<input ..>
the browser also disables those styles when disabled [single-dropdown ...]
is just a structured of styleddiv
>a
>span
. Not a 'native input' component.
I attempted adding the disabled
attribute to the structure when disabled?
is true
e.g. <span disabled>
etc but it had no impact on the styling.
This will need to be fixed in the future styling changes w/ a class that alters the :focus
styles when disabled?
is true. Cannot fix at the moment as we cannot change :focus
styles with inline styles.