Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "In Panel component, isClickableOutsideFocusTrap should not be overriden back to false if it's already set to true in focusTrapZoneProps.",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ export class Panel extends BaseComponent<IPanelProps, IPanelState> implements IP
) }
style={ customWidthStyles }
elementToFocusOnDismiss={ elementToFocusOnDismiss }
isClickableOutsideFocusTrap={ isLightDismiss || isHiddenOnDismiss }
isClickableOutsideFocusTrap={
isLightDismiss || isHiddenOnDismiss || (focusTrapZoneProps && focusTrapZoneProps.isClickableOutsideFocusTrap)
}
>
<div className={ css('ms-Panel-commands') } data-is-visible={ true } >
{ onRenderNavigation(renderProps, this._onRenderNavigation) }
Expand Down