Open shaydoc opened 5 years ago
vue-draggable-nested-tree doon't use html5 drag. it just moves the element by 'position: absolute'. the dragging node element '.tree-node' has a class 'dragging'. you can custom its style by define the class
@phphe i am trying figure out where/how i can override opacity set here: https://github.com/phphe/draggable-helper/blob/dc3064df169907c54b63d563df324c5adf2f1542/src/index.js#L80
any tips ?
the dragging node has a class 'dragging', so you can add css
.tree-node.dragging{
opacity: 1!important;
}
The Drag Element by standard has an opacity, can we fake this element by creating a real dom element by cloning the drag element and that way we have full control over style..
https://stackoverflow.com/questions/9712535/html5-drag-and-drop-no-transparency