Skip to content

Commit

Permalink
fix(react-combobox): Option's checkIcon adds provided className at th…
Browse files Browse the repository at this point in the history
…e end to avoid overrides (#28143)

* fix: Option's checkIcon adds provided className at the end to avoid overrides.

* change file
  • Loading branch information
sopranopillow authored Jun 5, 2023
1 parent 713a02b commit 1b46051
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: Option's checkIcon adds provided className at the end to avoid overrides.",
"packageName": "@fluentui/react-combobox",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ export const useOptionStyles_unstable = (state: OptionState): OptionState => {
state.checkIcon.className = mergeClasses(
optionClassNames.checkIcon,
styles.checkIcon,
state.checkIcon.className,
multiselect && styles.multiselectCheck,
selected && styles.selectedCheck,
selected && multiselect && styles.selectedMultiselectCheck,
disabled && styles.checkDisabled,
state.checkIcon.className,
);
}

Expand Down

0 comments on commit 1b46051

Please sign in to comment.