[tree view] TreeItem2DragAndDropOverlay - Error: MUI: Unsupported `var(--palette-primary-dark)` color.
Steps to reproduce
use <CssVarsProvider/> for base example
https://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 error
https://github.com/mui/mui-x/blob/master/packages/x-tree-view/src/TreeItem2DragAndDropOverlay/TreeItem2DragAndDropOverlay.tsx
Expected behavior
No error withTreeItem2DragAndDropOverlay
Context
No response
Your environment
No response
Search keywords: TreeItem2DragAndDropOverlay
Hey @mtr1990 ... I can confirm this bug and will add it to the board! Thanks for opening it! 👍🏼
Btw could be TreeItem2DragAndDropOverlay also exported from pro package as well?
#14913 fixes the import issues on the pro package
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
[!NOTE] @mtr1990 How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.