Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
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
Expand Up @@ -68,6 +68,7 @@ This is a list of changes made to the Stardust copy of FocusTrapZone in comparis

### BREAKING CHANGES
- Allow using `firstFocusableSelector` for all type of selectors, not only class names @sophieH29 ([#1732](https://github.com/stardust-ui/react/pull/1732))
- Do not force focus inside focus trap zone on outside focus @sophieH29 ([#1930](https://github.com/stardust-ui/react/pull/1930))

### Fixes
- Do not focus trigger on outside click @sophieH29 ([#627](https://github.com/stardust-ui/react/pull/627))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class FocusTrapZone extends React.Component<FocusTrapZoneProps, {
static defaultProps: FocusTrapZoneProps = {
as: 'div',
isClickableOutsideFocusTrap: true,
forceFocusInsideTrapOnOutsideFocus: true,
forceFocusInsideTrapOnOutsideFocus: false,
}

componentDidMount(): void {
Expand Down