Skip to content

feat: onDragStart listener for ion-reorder-group #23148

@jwburnside

Description

@jwburnside

Feature Request

Ionic version:
Ionic Framework : @ionic/angular 5.5.3

Describe the Feature Request
It would be great to add onDragStart and onDragEnd events for ion-reorder-group. Currently there is only an event when the drag completes AND the list order has changed.

My use case would be if I have icons contained in the list items I want to hide the icons while the list item is being dragged, then display them once the drag is complete.

Describe Preferred Solution
Add an onDragStart and onDragEnd listener that I can subscribe to which will fire when dragging starts and dragging ends respectively (regardless of if the list order changed).

Describe Alternatives
I don't think there are any alternatives.

Related Code
No related code.

Additional Context
I have not been able to find a workaround for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions