Open
Description
Provide a general summary of the feature here
I would like to implement a UX where the dragged item a GridList is slightly tilted, but all other styles remain, like so:
🤔 Expected Behavior?
😯 Current Behavior
Currently, there is no way to add purely additive styles. The only way to customize the appearance of the drag preview is by providing your own renderDragPreview
.
The downside of this, is that relative styles are lost. For example, restoring the width of the div
is difficult if its based on the size of its container.
💁 Possible Solution
Add a data-drag-preview
attribute on the default drag preview, so that additional styles could be added to it easily.
🔦 Context
💻 Examples
No response
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels