openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Drag and Drop inconsistency between iOS and Android mobile devices for Planning Calendar

Open Kalo2412 opened this issue 10 months ago • 1 comments

Explanation:

When you implement Planning calendar control with appointments that can be draggable and dropped on different position you receive two handlers (from the PlanningCalendarRow):

  • appointmentDrop
  • appoitnmentDragEnter

Bug:

When holding an appointment with a finger without moving the finger (aka entering Drag And Drop) on iOS devices the appointnmentDragEnter is not called, but on Android devices this handler is called (without actually moving the selected appointment).

Reproduce:

https://sapui5.hana.ondemand.com/#/entity/sap.m.PlanningCalendar/sample/sap.m.sample.PlanningCalendarModifyAppointments

I have downloaded this sample and just added console.log("drag enter") in the appointnmentDragEnter, than I changed the package json script for start to accept remote connections in order to test it on real device, and the bug is reproducing all the time.

The reason for this is because when you inspect the sample and change the device from chrome to mobile, there is no easy way to simulate drag and drop.

Expected behavior:

appointnmentDragEnter should be called only when you start moving around the selected appointment, the inconsistency is on Android devices

Thank you!

Kalo2412 avatar Mar 17 '25 16:03 Kalo2412

Hello @Kalo2412,

Thank you for sharing this finding. I've created an internal incident DINC0452235. The status of the issue will be updated here in GitHub.

Regards, Siyana

s-todorova avatar Mar 25 '25 14:03 s-todorova

Hey @Kalo2412,

The issue was fixed in version 1.136 and is available in every version after. If you require a downport to another version please feel free to re-open the ticket.

Best, Diana

didip1000 avatar Nov 03 '25 18:11 didip1000