mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.46k stars 1.88k forks source link

Failed to execute 'observe' on 'ResizeObserver' #6129

Closed tahikardist closed 5 months ago

tahikardist commented 5 months ago

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?

Next.js

In which browsers you can reproduce the issue?

Chrome

Describe the bug

Starting from 7.7.0 the following error occurs: TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'.

image

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

rtivital commented 5 months ago

Provide a sandbox with a minimal reproduction

tahikardist commented 5 months ago

https://stackblitz.com/edit/vitejs-vite-srjtq9

rtivital commented 5 months ago

Fixed in 7.9.1

tahikardist commented 5 months ago

Now i'm on 7.9.1 and i'm getting same error (Nextjs 14.2.3, webpack). Error appears when i'm using SegmentedControl image Packages image