Skip to content

Conversation

@iqorlobanov
Copy link

Motivation

Fixed a bug where the modal remained open after unmounting.

Steps to reproduce the bug

  1. Open the modal
  2. Unmount the component before the opening animation finishes

Result
The component is unmounted, the modal ref is null, but the modal is still visible and can only be closed by swiping down or tapping on the backdrop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant