[PR #1612] Dialog drag implementation improvement #2842

Open
opened 2026-01-29 18:20:42 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/1612

State: closed
Merged: No


Changes:

  • The dialog Drag action parameter is now being called when the dialog is dragging.
  • The start event listener is not being removed when the dialog is closed. This is because there is still a reference to the dialog element in the start function, at the time the dialog is closed. If there is still a reference to an element, its event listeners will not be removed when it is closed. Because of this I have added a function which removes the start event listener when the dialog is closed.
**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/1612 **State:** closed **Merged:** No --- Changes: - The dialog Drag action parameter is now being called when the dialog is dragging. - The start event listener is not being removed when the dialog is closed. This is because there is still a reference to the dialog element in the start function, at the time the dialog is closed. If there is still a reference to an element, its event listeners will not be removed when it is closed. Because of this I have added a function which removes the start event listener when the dialog is closed.
claunia added the pull-request label 2026-01-29 18:20:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2842