Skip to content

Commit

Permalink
🐞 Fix: ModalView Events Not Working
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Jan 9, 2023
1 parent f55850b commit 8a8ec94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ModalView/ModalView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ export class ModalView extends

return (
<RNIModalView
{...props}
ref={(r) => {
this.nativeRefModalView = r;
}}
Expand All @@ -406,7 +407,6 @@ export class ModalView extends
onModalDidDismiss={this._handleOnModalDidDismiss}
onModalWillDismiss={this._handleOnModalWillDismiss}
onModalAttemptDismiss={this._handleOnModalAttemptDismiss}
{...props}
{...overrideProps}
{...props.viewProps}
>
Expand Down

0 comments on commit 8a8ec94

Please sign in to comment.