Issue #3083Opened October 20, 2020by Joshmamroud6 reactions

[Feature]: Highlight drop zones

Question

Hi @artf ,

How would you recommend highlighting the components on the canvas that the selected block can be dropped into based on draggable & droppable rules? In other words, when a user starts dragging a block from the block manager I would like to highlight (add a border or inset box-shadow) the components on the canvas which it can be dropped into. This is not to replace the drop-indicator (not sure what your name for it is) which shows where the block will be placed when dragging it on the canvas but meant to complement it.

Here is an example of what I'm looking to create: Frame 3

Any help would be greatly appreciated.

Thanks!

Answers (3)

artfOctober 23, 20202 reactions

I think, currently, it's not easy to achieve it. The Sorter module is quite old and messy and I'd need to refactor it in order to allow such functionality (which, for sure, I'd be glad to have). Unfortunately, no ETA for such a thing :/

kerryj89January 15, 20211 reactions

Was just thinking of this. I think it's the natural evolution and necessary when you can set limitations of where something is droppable.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.