Duplicate Check
Describe the requested feature
The dragging of the ft.Draggable() component is very smooth, but due to the communication latency between Python and Flutter, the data return of the on_move and on_accept events of the ft.DragTarget() component, as well as the on_drag_complete event of the ft.Draggable() component, suffers from very severe delays in complex page scenarios. This directly impairs the usability of the components. I hope to add throttling to the returned data of these events—for example, returning data every xx milliseconds—which can greatly improve the usability of the components. This provides a very powerful improvement for smooth usage. Ideally, the data return of the on_accept event should be isolated from the on_move event, because on_accept only needs to return data once, whereas on_move needs to return data in real time. Currently, the on_accept data return delay is very serious, and I suspect it is affected by the on_move delay.
This is a very important optimization, as it can deliver a very smooth experience with the simplest adjustment.
Suggest a solution
No response
Screenshots
No response
Additional details
No response
Duplicate Check
Describe the requested feature
The dragging of the
ft.Draggable()component is very smooth, but due to the communication latency between Python and Flutter, the data return of theon_moveandon_acceptevents of theft.DragTarget()component, as well as theon_drag_completeevent of theft.Draggable()component, suffers from very severe delays in complex page scenarios. This directly impairs the usability of the components. I hope to add throttling to the returned data of these events—for example, returning data every xx milliseconds—which can greatly improve the usability of the components. This provides a very powerful improvement for smooth usage. Ideally, the data return of theon_acceptevent should be isolated from theon_moveevent, becauseon_acceptonly needs to return data once, whereason_moveneeds to return data in real time. Currently, theon_acceptdata return delay is very serious, and I suspect it is affected by theon_movedelay.This is a very important optimization, as it can deliver a very smooth experience with the simplest adjustment.
Suggest a solution
No response
Screenshots
No response
Additional details
No response