[PR #1590] Stopped Radzen Dialog Service unwanted Render Cycles during dragging. #2828

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

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

State: closed
Merged: No


  • I stopped Radzen Dialog Service unwanted Render Cycles during dragging.
  • I did this by removing the current method for making dialogs draggable, and replacing it with a JavaScript implementation.
  • This stop the unwanted render cycles during dragging because JavaScript can modify the element properities without triggering a render cycle.
  • Eliminating these unwanter render cycles means prevents any render logic from being executed,
  • The unwanted render cycles cause render logic to be executed, which can make a dialogs dragging be slow. Eliminating these render cycles fixes this issue.
**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/1590 **State:** closed **Merged:** No --- - I stopped Radzen Dialog Service unwanted Render Cycles during dragging. - I did this by removing the current method for making dialogs draggable, and replacing it with a JavaScript implementation. - This stop the unwanted render cycles during dragging because JavaScript can modify the element properities without triggering a render cycle. - Eliminating these unwanter render cycles means prevents any render logic from being executed, - The unwanted render cycles cause render logic to be executed, which can make a dialogs dragging be slow. Eliminating these render cycles fixes this issue.
claunia added the pull-request label 2026-01-29 18:20:39 +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#2828