You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to style the ghost element, but have been unsuccessful.
I'm using Laravel, InertiaJS, VueJS & TailwindCSS
When I apply drag-class="bg-red-500" to the <Container> element, only the drag-handle area is getting the background color.
when I try to give a custom (on-drag) class to the drag-class prop, nothing happens.
I tried using scoped and non scoped style tag,
I even tried putting the class in the app.blade.php file (where Inertia renders Vue. i.e. the root vue element).
If you need a background under the dragged element use property in Container
:drop-placeholder | boolean,object | undefined | Options for drop placeholder. className, animationDuration, showOnTop
This is in example https://amendx.github.io/vue-dndrop/examples/cards.html
Hi,
I've been trying to style the ghost element, but have been unsuccessful.
I'm using Laravel, InertiaJS, VueJS & TailwindCSS
When I apply
drag-class="bg-red-500"
to the<Container>
element, only the drag-handle area is getting the background color.when I try to give a custom (
on-drag
) class to thedrag-class
prop, nothing happens.I tried using scoped and non scoped style tag,
I even tried putting the class in the
app.blade.php
file (where Inertia renders Vue. i.e. the root vue element).An excerpt of my code
I tried targeting
.dndrag-ghost
element directly, but that also didn't make a differencePlease Help
The text was updated successfully, but these errors were encountered: