mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[tree view] TreeItem2DragAndDropOverlay - Error: MUI: Unsupported `var(--palette-primary-dark)` color.

Open mtr1990 opened this issue 1 year ago • 1 comments

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

xx-1

to my knowledge the alpha function will not support vars so this could be the cause of the error xxx

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

mtr1990 avatar Aug 26 '24 15:08 mtr1990

Hey @mtr1990 ... I can confirm this bug and will add it to the board! Thanks for opening it! 👍🏼

michelengelen avatar Aug 27 '24 08:08 michelengelen

Btw could be TreeItem2DragAndDropOverlay also exported from pro package as well?

kzimins-arvatosystems avatar Oct 10 '24 14:10 kzimins-arvatosystems

#14913 fixes the import issues on the pro package

flaviendelangle avatar Oct 15 '24 13:10 flaviendelangle

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.

github-actions[bot] avatar Oct 16 '24 10:10 github-actions[bot]