Aura.UI icon indicating copy to clipboard operation
Aura.UI copied to clipboard

FloatingButton disabled style

Open hailstorm75 opened this issue 2 years ago • 2 comments

The FloatingButton control style does not reflect the button's disabled state. As of now, the button keeps its original color and does not hover.

The expected behavior would be for the button to change its color to say gray.

image

In this image, the Plus button is currently set to disabled and is clearly not visually distinctive from the Search button, which is active.

hailstorm75 avatar Nov 14 '21 20:11 hailstorm75

let me fix it

PieroCastillo avatar Nov 15 '21 01:11 PieroCastillo

for now u can use this

  <Style Selector="FloattingButton:disabled">
    <Setter Property="Background" Value="{DynamicResource ButtonBackgroundDisabled}" />
    <Setter Property="BorderBrush" Value="{DynamicResource ButtonBorderBrushDisabled}" />
    <Setter Property="TextBlock.Foreground" Value="{DynamicResource ButtonForegroundDisabled}" />
  </Style>

but I'll add that feature in the next version

PieroCastillo avatar Nov 15 '21 01:11 PieroCastillo