You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using @mantine/notifications package version 4.1.0, providing the autoClose prop triggers the following React warning:
Warning: React does not recognize the 'autoClose' prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase 'autoclose' instead. If you accidentally passed it from a parent component, remove it from the DOM element.
The component still behaves as expected aside from throwing this warning.
In which browser did the problem occur
Chrome Version 99.0.4844.84 (Official Build) (64-bit)
If possible, please include a link to a codesandbox with the reproduced problem
What package has an issue
@mantine/notifications
Describe the bug
When using @mantine/notifications package version 4.1.0, providing the autoClose prop triggers the following React warning:
Warning: React does not recognize the 'autoClose' prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase 'autoclose' instead. If you accidentally passed it from a parent component, remove it from the DOM element.The component still behaves as expected aside from throwing this warning.
In which browser did the problem occur
Chrome Version 99.0.4844.84 (Official Build) (64-bit)
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/mantine-dev-notification-autoclose-bug-4kfzi1?file=/src/App.tsx
Do you know how to fix the issue
No response
Are you willing to participate in fixing this issue and create a pull request with the fix
No response
Possible fix
Prevent passing 'autoClose' prop to underlying HTML element.
The text was updated successfully, but these errors were encountered: