Popover onOpen
called on each re-render.
#7111
Labels
Fixed patch
Completed issues that will be published with next patch (1.0.X)
onOpen
called on each re-render.
#7111
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.13.5
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
Update component state with
Popover
opened,onOpen
triggered on each re-render.Expected
onOpen
to be called only once when I openPopover
(as it works now) and nothing on re-renders (the bug).If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-popover-bug-forked-8446wc
Possible fix
No response
Self-service
The text was updated successfully, but these errors were encountered: