openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Drop between popin and item

Open firesharker opened this issue 3 years ago • 0 comments

OpenUI5 version: latest, but all affected

Browser/version (+device/version): firefox, but does not matter

URL (minimal example if possible): https://plnkr.co/edit/hh4vOGziOLnh3JpN?preview This is the auto popin example with the following drag configuration added to the table:

<dragDropConfig>
	<dnd:DragDropInfo
		sourceAggregation="items"
		targetAggregation="items"
		dropPosition="Between" />
</dragDropConfig>

Steps to reproduce the problem:

  1. Resize the table with the slider to have a few columns in the popin area
  2. Grab a row and try to drop it between a row and its popin area

What is the expected result? The "between" drop indicator should only appear before or after the row (including its popin area).

What happens instead? The drop indicator appears between the row and its popin area.

Any other information? A slightly related issue which I am not sure if it is a bug or a feature: I can only grab the row by clicking on row itself but not its popin area. It would be great if I could grab it anywhere because nothing indicates that the popin is not an integral part of the row unless it is selected. I think it would make sense to include the popin in the selection and highlight / focus the whole thing not just the regular row part of a row.

image

firesharker avatar Oct 13 '22 09:10 firesharker