getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.27k stars 167 forks source link

Drag'n'drop between block fields broken #5290

Open bnomei opened 1 year ago

bnomei commented 1 year ago

Description

create a block and drag it to another block field. keep holding the mouse button and drag. it disappears in the initial and appears in the second. but on releasing the mouse button it disappears.

Expected behavior
preferable allow dragndrop or make sure the UI does not act like it would be possible.

Screenshots
CleanShot 2023-06-15 at 13 35 31

bnomei commented 1 year ago

in 3.9.1 it works just fine

distantnative commented 1 year ago

@bnomei are you sure? Having troubles in 3.9.1 as well

ovenum commented 1 year ago

It worked when dragging a block from a nested blocks field to the parent blocks field. Sorry if this caused confusion.

distantnative commented 1 year ago

I can reproduce the issue in 3.9.5 as well. I know at what step in the code it's happening. I have no clue why 😭

afbora commented 1 year ago

I've tested on 3.5.x, 3.6.x 3.7.x, 3.8.x and 3.9.x, doesn't working the drag drop between blocks on any release 🤯 I remember we had such a feature.

distantnative commented 1 year ago

@afbora see the PR, I found what made it stopped working

afbora commented 1 year ago

I've seen the PR but I'm surprised it doesn't work on any version.

distantnative commented 1 year ago

It was introduced 3 years ago. I would think it's only working in 3.4 and earlier

afbora commented 1 year ago

3.4 and blocks? 😅

sciloqi commented 3 months ago

This is still open, right? At least, it is back in Kirby 4.3.0. ....

distantnative commented 3 months ago

@sciloqi sadly yes, we have a pretty big blocker on the way to fix this. I'd hope that we make some progress there over the next months.