fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Combobox: Drop down icon is replaced by ... in disabled combobox

Open tabansal opened this issue 7 years ago • 5 comments

When we use comboBox in disabled state the drop down caret is replaced by three dots (...).

image

We should display drop down caret even when it's disabled

tabansal avatar Nov 27 '19 05:11 tabansal

Hi @tabansal, thanks for filing this issue! I can confirm that I can reproduce it on the Fabric website. @joschect do you know if this is by design or if it is something we need to change?

khmakoto avatar Nov 27 '19 18:11 khmakoto

i was curious about this as well. Seems to be because of text-overflow and something causing the root to overflow.

micahgodbolt avatar Nov 27 '19 18:11 micahgodbolt

I think, this is caused due to change in position property. For enabled drop down, the button is absolute positioned. But in case of disabled one, it's relative causing it to be displayed out of bound.

tabansal avatar Nov 27 '19 18:11 tabansal

@khmakoto I don't believe that this is intended behavior. @tabansal appears to be correct, the disabled button doesn't have position: absolute even though it is in its styling For some reason it looks like the root styles aren't applied when the disabled styles are.

joschect avatar Nov 27 '19 18:11 joschect

:tada:This issue was addressed in #11327, which has now been successfully released as [email protected].:tada:

Handy links:

msft-github-bot avatar Dec 03 '19 12:12 msft-github-bot