mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 23:15:34 +08:00
remove focus from add team members button after the invite users modal closes
This commit is contained in:
parent
8bd698e5c3
commit
f19c0defd6
1 changed files with 8 additions and 2 deletions
|
@ -13,7 +13,9 @@ import InviteUsersForm from "./components/InviteUsersForm";
|
|||
import InviteUsersResults from "./components/InviteUsersResults";
|
||||
import InviteUsersButton from "./components/InviteUsersButton";
|
||||
|
||||
const StyledButtonToolbar = styled(ButtonToolbar)`float: right;`;
|
||||
const StyledButtonToolbar = styled(ButtonToolbar)`
|
||||
float: right;
|
||||
`;
|
||||
|
||||
class InviteUsersModal extends Component {
|
||||
constructor(props) {
|
||||
|
@ -84,7 +86,11 @@ class InviteUsersModal extends Component {
|
|||
}
|
||||
|
||||
return (
|
||||
<Modal show={this.props.showModal} onHide={this.handleCloseModal}>
|
||||
<Modal
|
||||
show={this.props.showModal}
|
||||
onHide={this.handleCloseModal}
|
||||
restoreFocus={false}
|
||||
>
|
||||
<Modal.Header closeButton>
|
||||
<Modal.Title>
|
||||
<FormattedMessage
|
||||
|
|
Loading…
Reference in a new issue