How to force display of drag & drop handle with mv-list / mv-list-item ? #815
-
Hi everyone, hope you're all fine When using mv-list / mv-list-item in I would like to know if there's a way to 'force' display of drag & drop handle ? you can see use case n°3 here: https://codepen.io/GATIGA/pen/oNGRMRW ... I'm a little bit confused because Mavo is displaying different item-bar 's depending on elements... Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
You mean to always show the handle even when the item is not hovered? CSS to the rescue! .mv-item-bar.mv-ui.mv-ui {
opacity: 1;
} (the doubled class is to increase specificity) Note that it still won't show up when the app is not in edit mode. To force the app to always be in edit mode, you can use |
Beta Was this translation helpful? Give feedback.
-
It seems to me that the question might also be whether it’s possible to show drag handles inside collections of primitives (that are optional by default). I also wonder, is it possible? Or the only way to move primitives inside a collection is by dragging? 🤔 I haven't checked yet, but will it help if we add |
Beta Was this translation helpful? Give feedback.
It seems to me that the question might also be whether it’s possible to show drag handles inside collections of primitives (that are optional by default). I also wonder, is it possible? Or the only way to move primitives inside a collection is by dragging? 🤔
I haven't checked yet, but will it help if we add
mv-item-bar="with move"
to the collection item?