Mantine Tooltip Depends on --mantine-scale, which is not defined in HeadlessProvider #6458
Closed
1 of 2 tasks
Labels
Fixed patch
Completed issues that will be published with next patch (1.0.X)
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.11.0
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
All
Describe the bug
HeadlessMantineProvider
import { Tooltip } from '@mantine/core'
withArrow
as true--mantine-scale
property. Even when setting any arrowSize, the width and height remains 0.It seems the only way around this is if we add the following line:
which might not be ideal for users of Mantine in Headless mode.
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-react-template-forked-ls9jj9?file=%2Fsrc%2FApp.tsx%3A11%2C17
Possible fix
Possibly remove the dependency on
--mantineScale
for height and width. Or possibly allow users to pass in explicitheight
andwidth
in stylesAPI, which may not be allowed at the moment.Self-service
The text was updated successfully, but these errors were encountered: