Open mtr1990 opened 2 weeks ago
use <CssVarsProvider/> for base example
<CssVarsProvider/>
https://mui.com/x/react-tree-view/rich-tree-view/ordering/#only-trigger-the-reordering-from-a-drag-handle
to my knowledge the alpha function will not support vars so this could be the cause of the error
alpha
https://github.com/mui/mui-x/blob/master/packages/x-tree-view/src/TreeItem2DragAndDropOverlay/TreeItem2DragAndDropOverlay.tsx
No error withTreeItem2DragAndDropOverlay
TreeItem2DragAndDropOverlay
No response
Search keywords: TreeItem2DragAndDropOverlay
Hey @mtr1990 ... I can confirm this bug and will add it to the board! Thanks for opening it! 👍🏼
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