Replies: 2 comments
-
|
Any update on this one? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@rtivital Any update ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.4.0
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
All
Describe the bug
The current signature of the
onClosehandler of the context modal props is defined asonClose?: (() => void) | undefined.By using the
closeContextModalmethod of a modal context, you can pass an optional cancel flag as a boolean.This flag should be passed to the close handler too, to further decide on possible callbacks when closing a modal.
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
Beta Was this translation helpful? Give feedback.
All reactions