Draggable group triggers same behaviour as a click

I am trying to build a screen where you can upload and rearrange images, much like you can do in your Tinder profile :wink:

Expected behaviour:

  1. When i click on an image a popup is opening where i can upload and save an image
  2. When i drag an image onto another one it is switching position

What is actually happening:
2) When i drag an image onto another one it is switching places (as expected) BUT the popup is opening

To me it seems that dragging a group onto an image is technically the same as clicking it, since the trigger for opening the popup is a click on the image. Is this a bug or is this expected behaviour? If it is, do you have an idea how to work around this?

ok, i think it is the click on the image that is being dragged actually. I worked around it with a little upload icon that only shows bottom right, if the image is empty.