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

(cherry picked from commit ce67915)
  • Loading branch information
dangrous authored and OSBotify committed Nov 29, 2023
1 parent b111889 commit baeeefc
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 baeeefc

Please sign in to comment.