Skip to content

Commit

Permalink
Merge pull request #32193 from software-mansion-labs/@kosmydel/fix-cr…
Browse files Browse the repository at this point in the history
…ash-magic-code
  • Loading branch information
dangrous authored Nov 29, 2023
2 parents 398590a + 0119575 commit ce67915
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ class ContactMethodDetailsPage extends Component {
onCancel={() => this.toggleDeleteModal(false)}
onModalHide={() => {
InteractionManager.runAfterInteractions(() => {
if (!this.validateCodeFormRef.current) {
return;
}
this.validateCodeFormRef.current.focusLastSelected();
});
}}
Expand Down

0 comments on commit ce67915

Please sign in to comment.