Skip to content

Commit

Permalink
Merge pull request #14115 from s77rt/refactor-tooltip
Browse files Browse the repository at this point in the history
(cherry picked from commit 8831e76)
  • Loading branch information
francoisl authored and OSBotify committed Jan 9, 2023
1 parent c202a69 commit e571e31
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Modal/BaseModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import * as StyleUtils from '../../styles/StyleUtils';
import themeColors from '../../styles/themes/default';
import {propTypes as modalPropTypes, defaultProps as modalDefaultProps} from './modalPropTypes';
import * as Modal from '../../libs/actions/Modal';
import DomUtils from '../../libs/DomUtils';
import getModalStyles from '../../styles/getModalStyles';
import variables from '../../styles/variables';

Expand Down Expand Up @@ -91,7 +90,6 @@ class BaseModal extends PureComponent {
// Note: Escape key on web/desktop will trigger onBackButtonPress callback
// eslint-disable-next-line react/jsx-props-no-multi-spaces
onBackButtonPress={this.props.onClose}
onModalWillShow={DomUtils.blurActiveElement}
onModalShow={() => {
if (this.props.shouldSetModalVisibility) {
Modal.setModalVisibility(true);
Expand Down

0 comments on commit e571e31

Please sign in to comment.