[tree view] TreeItem2DragAndDropOverlay - Error: MUI: Unsupported var(--palette-primary-dark)
color.
#14349
Labels
bug 🐛
Something doesn't work
component: tree view
TreeView, TreeItem. This is the name of the generic UI component, not the React module!
customization: theme
Centered around the theming features
Steps to reproduce
use
<CssVarsProvider/>
for base examplehttps://mui.com/x/react-tree-view/rich-tree-view/ordering/#only-trigger-the-reordering-from-a-drag-handle
Current behavior
to my knowledge the
alpha
function will not support vars so this could be the cause of the errorhttps://github.com/mui/mui-x/blob/master/packages/x-tree-view/src/TreeItem2DragAndDropOverlay/TreeItem2DragAndDropOverlay.tsx
Expected behavior
No error with
TreeItem2DragAndDropOverlay
Context
No response
Your environment
No response
Search keywords: TreeItem2DragAndDropOverlay
The text was updated successfully, but these errors were encountered: