-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Error on useResizeObserver and Group #5780
Labels
Fixed patch
Completed issues that will be published with next patch (1.0.X)
Comments
Is wrong use only: const [refRightSection, rectRightSection] = useResizeObserver(); ? |
I'm having a similar issue, looks to be caused by the fix to #5752 |
rtivital
added a commit
that referenced
this issue
Feb 26, 2024
rtivital
added
the
Fixed patch
Completed issues that will be published with next patch (1.0.X)
label
Feb 26, 2024
Fixed in 7.6.1 |
@rtivital I'm a little confused by this fix. Why are we now returning any?
|
Same here: ec4fcf7#commitcomment-139346444
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.5.3
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
None
Describe the bug
Type 'MutableRefObject<HTMLDivElement | undefined>' is not assignable to type 'Ref | undefined'.
Type 'MutableRefObject<HTMLDivElement | undefined>' is not assignable to type 'RefObject'.
Types of property 'current' are incompatible.
Type 'HTMLDivElement | undefined' is not assignable to type 'HTMLDivElement | null'.
Type 'undefined' is not assignable to type 'HTMLDivElement | null'.typescript(2322)
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-group-ref-error-kvx58y
Possible fix
No response
Self-service
The text was updated successfully, but these errors were encountered: