diff --git a/src/components/PressableWithSecondaryInteraction/index.js b/src/components/PressableWithSecondaryInteraction/index.js index f90a09e06c4d..bc14e92b0baa 100644 --- a/src/components/PressableWithSecondaryInteraction/index.js +++ b/src/components/PressableWithSecondaryInteraction/index.js @@ -35,6 +35,7 @@ class PressableWithSecondaryInteraction extends Component { e.preventDefault(); } + this.props.onSecondaryInteraction(e); /** * This component prevents the tapped element from capturing focus. * We need to blur this element when clicked as it opens modal that implements focus-trapping. @@ -45,7 +46,6 @@ class PressableWithSecondaryInteraction extends Component { if (this.props.withoutFocusOnSecondaryInteraction && this.pressableRef) { this.pressableRef.blur(); } - this.props.onSecondaryInteraction(e); } render() {