Closed sienkiewiczkm closed 1 month ago
I just tested Firefox (125.0.3) on Windows and it works, so it appears that issue is MacOS exclusive (confirmed also on another MacOS machine). I don't know if Linux is affected.
FYI, I encountered the same problem under similar/same circumstances:
And as described in https://github.com/webcompat/web-bugs/issues/136574, if the modal is opened => closed => re-opened before switching tabs, then the freeze does NOT happen.
I don't know if Linux is affected.
I've tested with Ubunutu, but it didnt appear so this issue may occur only for MacOS
FYI, I encountered the same problem under similar/same circumstances:
* Mantine 7.11.2 * Firefox 128.0.3 * Tabs in a modal
And as described in webcompat/web-bugs#136574, if the modal is opened => closed => re-opened before switching tabs, then the freeze does NOT happen.
After some recent updates:
I'm not able to reproduce this issue anymore.
I've checked, the issue seems to have been resolved in one of the previous releases, it works correctly if all Mantine packages are updated to 7.13.1
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.8.1
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
Firefox
Describe the bug
In
<Menu/>
I have a option that opens the<Modal/>
, which inside contains the<Tabs/>
. For some reason on Firefox, if you click on "Tab 2" whole browser tab will freeze and you'll be forced to kill the tab, minimal component that is able to trigger the failure:User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
This issue as far I can tell can be reproduced in Firefox and causes total freeze in the tab.
Demo:
I tried debugging this very deep into React internals, but I couldn't find a root cause.
Edit: Additional piece of context (possibly useless), strangely in my main repo (large app that I cannot share) this bug occurs only when I set
NODE_ENV
toproduction
. That's not strictly required for the small repro repos.If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-combobox-in-scrollable-popovers-forked-6qkwyn
Possible fix
No response
Self-service