Skip to content

Commit

Permalink
Prevent group toggling from selecting the whole group (#25149)
Browse files Browse the repository at this point in the history
* Ensure toggling group state does not select it

* Change files
  • Loading branch information
spmonahan authored Oct 11, 2022
1 parent c04722c commit d05569d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Ensure toggling group state does not select it",
"packageName": "office-ui-fabric-react",
"email": "seanmonahan@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8191,6 +8191,7 @@ exports[`DetailsList renders List with hidden checkboxes correctly 1`] = `
background-color: #e1dfdd;
}
data-is-focusable={false}
data-selection-disabled={true}
onClick={[Function]}
type="button"
>
Expand Down Expand Up @@ -9048,6 +9049,7 @@ exports[`DetailsList renders List with hidden checkboxes correctly 1`] = `
background-color: #e1dfdd;
}
data-is-focusable={false}
data-selection-disabled={true}
onClick={[Function]}
type="button"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export class GroupHeaderBase extends React.Component<IGroupHeaderProps, IGroupHe
<div role="gridcell">
<button
data-is-focusable={false}
data-selection-disabled={true}
type="button"
className={this._classNames.expand}
onClick={this._onToggleClick}
Expand Down

0 comments on commit d05569d

Please sign in to comment.