I hope that the convenience of Drag&Drop of TreeView is better.

Hi!

Drag&Drop of TreeView works well.

But there is this problem.

Due to the limitation of the mouse input device, 'Selection' and 'Ready to move the drag' seem to malfunction when the mouse is clicked.

Most of the time, there is a slight shift in the coordinates of selecting items.
That's why I wanted to choose, but I perceive it as a bit of a drag motion.

This is not inconvenient for users. You have to click delicately!

To deal with this problem, most approaches are like this. If there is a better approach, that is also welcome.

Clicks to a specific distance, that is, 3 points or 4 to 5 points on the X or Y axis are recognized as selection.

Then, due to the limitation of the mouse input device, when you want to select, slight cursor movement when clicking is recognized as selection.

This inconvenience should be applied equally to other Drag&Drop actions such as ListBox.

What do you think?

Thanks

1 Reply 1 reply marked as answer

SA Shameer Ali Baig Sulaiman Ali Baig Syncfusion Team August 26, 2020 12:41 PM UTC

Hi Seil, 
 
Greetings from Syncfusion support. 
 
We have looked into your query on Blazor SF TreeView’s node selection, drag and drop functionalities.  
 
We would like to let you know that the selection will be added to any tree node only when the mouse down and mouse up event’s bound to that tree nodes is triggered at the same position(same x and y coordinates). 
 
And, the dragging functionality of any tree node will get invoked when the mouse down over that tree node and drag from the current mousedown position (x and y coordinates) to any other position (other x and y coordinates). So, selection to any tree node will not apply when drag event is triggered. This is the default behavior of the TreeView component. ListBox component also has the same behavior on selection, drag and drop functionalities. 
 
We are unable to understand your exact requirement with TreeView and ListBox components. Please, share us the following details. 
 
·        Video demonstration of your requirement. 
·        Demo images or screenshots of your requirement. 
·        Explain us your expected requirement with more details. 
 
This information would help us to understand your requirement and to provide you the prompt solution. 
 
Check out the following links to know more about Blazor SF TreeView and ListBox components. 
 
 
 
  
 
API Reference: 
 
 
 
 
Regards, 
Shameer Ali Baig S. 


Marked as answer
Loader.
Up arrow icon