fluentui
fluentui copied to clipboard
showCloseButton now determined by isBlocking instead of Dialog Type
Previously the close button was showing when dialogContentProps.type was set to DialogType.Close and modalProps.isBlocking was set to true.
Now that appears to be ignored and only the modalProps.isBlocking value is being checked. The documentation for DialogType needs to be updated if this is desired behavior.
https://github.com/OfficeDev/office-ui-fabric-react/blob/d8ffba67d710b76be69866ab49ca5239b63ae76c/packages/office-ui-fabric-react/src/components/Dialog/Dialog.tsx#L115