Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Expanding a collapsed list when mouse is over it #509

Open
ricfwolff opened this issue Feb 27, 2020 · 1 comment
Open

Expanding a collapsed list when mouse is over it #509

ricfwolff opened this issue Feb 27, 2020 · 1 comment

Comments

@ricfwolff
Copy link

I have several horizontal lists, each one with draggable items in it.
But the lists are all collapsed (because of size and rendering problems).
I want to drag one element from one list to another. But, when I drag the item over the list "header", I want it to expand to show its items so the user can choose where to drop it.

image

image

Is it possible?

@cird24
Copy link

cird24 commented Jul 7, 2022

I had the same problem. Would be so easy if only we could use basic HTML event while dragging. I managed to do it by creating a dndDropZone on the HTML tag I wanted to expand without actually giving it any instructions for dndDrop.
But this way, I was able to set dndDragover which is basically the same as a simple mouseover but while on Drag. This event triggered, I could easily make my div expand and that's it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants