Skip to content
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

Warning: Check the render method of @mantine/core/Tooltip with Mantine 7 and MRT V2 #215

Closed
1 task done
bruskadev opened this issue Dec 7, 2023 · 2 comments
Closed
1 task done
Assignees
Labels
V2 Issue with MRT V2

Comments

@bruskadev
Copy link

mantine-react-table version

v2.0.0-alpha.4

react & react-dom versions

^18.2.0

Describe the bug and the steps to reproduce it

On the project we use Mantine UI library v7.3.0 and Mantine React Table, everything works fine but the console displays Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

Check the render method of @mantine/core/Tooltip.

Which is a bit annoying. Is it possible to fix it?

Minimal, Reproducible Example - (Optional, but Recommended)

Снимок экрана 2023-12-07 в 15 15 10

Screenshots or Videos (Optional)

Снимок экрана 2023-12-07 в 15 15 10

Do you intend to try to help solve this bug with your own PR?

No, because I do not have time to dig into it

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@alessandrojcm alessandrojcm added the V2 Issue with MRT V2 label Dec 9, 2023
@alessandrojcm alessandrojcm self-assigned this Dec 11, 2023
@alessandrojcm
Copy link
Collaborator

Which features have you enabled when you see this warning?

@hamza-arshad-mughal
Copy link

tooltip is trying to pass in reference to a child component. for that you must change your child component into forwarded component. using React.forwardRef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 Issue with MRT V2
Projects
None yet
Development

No branches or pull requests

3 participants