Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom draggable-placeholder in drag & drop #5845

Open
Hyppothalamus opened this issue Nov 15, 2024 · 1 comment
Open

custom draggable-placeholder in drag & drop #5845

Hyppothalamus opened this issue Nov 15, 2024 · 1 comment
Labels
Type: Feature ⚙ Request or idea for a new feature.

Comments

@Hyppothalamus
Copy link

Is your feature request related to a problem? Please describe.

I would love to have a custom placeholder when dragging an item in the drag & drop component. I already love that there is padding to show where the new item is gonna be but with the outline it doesn't look all that professional.

Describe the solution you'd like

To be able to have an over-writable component for the dragging placeholder to show custom html and/or data.

If their are any more questions just ping me.

Thanks in advance!

@Hyppothalamus Hyppothalamus added the Type: Feature ⚙ Request or idea for a new feature. label Nov 15, 2024
@stsrki
Copy link
Collaborator

stsrki commented Nov 15, 2024

We can think about adding new render fragments to allow for custom elements as placeholders. But I believe it is best to use CSS to style placeholders as you wish. The classname to style is .draggable-placeholder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature ⚙ Request or idea for a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants