We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lets say I have a button that I want to use for
The way might it could would look like is:
hide(MyModal1).then(() => { show(MyModal2) })
This code works if MyModal1 is current displayed. If it is not, then the hide() promise simply never resolves.
MyModal1
hide()
Expected result:
Actual result:
The text was updated successfully, but these errors were encountered:
Lets say I have a button that I want to use for * closing a modal (if open) * opening a different modal The way might it could would look like is: hide(MyModal1).then(() => { show(MyModal2) }) This code works if MyModal1 is current displayed. If it is not, then the hide() promise simply never resolves. Expected result: * MyModal1 closes if open, and MyModal2 is shown Actual result: * MyModal2 does not open if MyModal1 was not initially visible
* closing a modal (if open) * opening a different modal
* MyModal1 closes if open, and MyModal2 is shown
* MyModal2 does not open if MyModal1 was not initially visible
Same issue is with Chakra Modals. hide never resolves.
hide
Sorry, something went wrong.
No branches or pull requests
Lets say I have a button that I want to use for
The way might it could would look like is:
This code works if
MyModal1
is current displayed. If it is not, then thehide()
promise simply never resolves.Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: