Skip to content

Commit

Permalink
Disable some unneeded react-modal props
Browse files Browse the repository at this point in the history
  • Loading branch information
vntw committed Dec 10, 2017
1 parent c9e9c38 commit ed3129c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/components/ConfigItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ class ConfigItem extends React.Component {
<Modal
isOpen={this.state.detailsOpen}
onRequestClose={() => this.setState({ detailsOpen: false })}
ariaHideApp={false}
shouldReturnFocusAfterClose={false}
>
<h3>Config Details</h3>

Expand Down
2 changes: 2 additions & 0 deletions client/src/components/ServerItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class ServerItem extends Component {
<Modal
isOpen={this.state.tmpConfigModalOpen}
onRequestClose={() => this.setState({ tmpConfigModalOpen: false })}
ariaHideApp={false}
shouldReturnFocusAfterClose={false}
>
<h3>Server Details</h3>

Expand Down

0 comments on commit ed3129c

Please sign in to comment.