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 I added className in portalProps in Menu component (at least), I have clientside error: InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('hidden xl:block') contains HTML space characters, which are not valid in tokens.
When className is not passed to portalProps, or it doesn't consist any space, error is gone.
This is critical bug or I'm missing something?
What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
latest
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
None
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
No response
The text was updated successfully, but these errors were encountered:
7iomka
changed the title
[V7] portalProps doesn't accept className without breaking whole app
[V7] Bug: portalProps doesn't accept className without breaking whole app
Oct 1, 2023
What package has an issue
@mantine/core
Describe the bug
When I added className in portalProps in Menu component (at least), I have clientside error:
InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('hidden xl:block') contains HTML space characters, which are not valid in tokens.
When className is not passed to portalProps, or it doesn't consist any space, error is gone.
This is critical bug or I'm missing something?
What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
latest
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
None
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
No response
The text was updated successfully, but these errors were encountered: