Skip to content

Commit

Permalink
[fluent] Fixed ToggleButton invoke click event when button is `disa…
Browse files Browse the repository at this point in the history
…bled`.
  • Loading branch information
Sanlorng committed May 31, 2024
1 parent ffe515a commit f612165
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ fun ToggleButton(
interactionSource = interaction,
indication = null,
onClick = { onCheckedChanged(!checked) },
role = Role.Checkbox
role = Role.Checkbox,
enabled = !disabled
),
interaction = interaction,
disabled = disabled,
Expand Down

0 comments on commit f612165

Please sign in to comment.