Skip to content
New issue

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

[@mantine/utils] fix: closeModal not working with openModal #2464

Merged
merged 1 commit into from Sep 16, 2022

Conversation

lawff
Copy link
Contributor

@lawff lawff commented Sep 16, 2022

#2436, when creating the closeModal function, the state is empty. But openModal will change the state modals, so I think we should update the handlers. Maybe there are other problems with this, I think we can update the handlers to get the latest state in all cases. Not sure of the best practice for this. Please give feedback or give improvement advice.

@rtivital rtivital merged commit e478816 into mantinedev:master Sep 16, 2022
@rtivital
Copy link
Member

Thanks!

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.

None yet

2 participants