Skip to content

Generic Drag & Drop add drop coordinates #19297

@lipisak

Description

@lipisak

Describe your motivation

As developer I would like to have access to coordinates of dragged item within drop zone

Describe the solution you'd like

Add API to DropEvent which would return offsetX and offsetY drop event data which are part of generic HTML5 DnD DropEvent (event.offsetX, event.offsetY)

Describe alternatives you've considered

I've tried to use this solution

But it's not usable as I can't access the data that I would pass by setDragData method on DragSource.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    🅿️Parking lot

    Status

    Maybe

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions