Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Currently,
the grid’s drag selection behavior is triggered by all
mouse buttons, including the middle (wheel) button. This leads
to unintended row or cell selection when users attempt to
scroll using the mouse wheel button. To improve usability, the grid should ignore
drag selection when the middle mouse button is pressed, ensuring that only left-click
interactions initiate selection. This change would align with standard
UI behavior and prevent accidental data manipulation during navigation.
Sample: Selection
in Blazor DataGrid | Syncfusion
1.Drag Selection should initiate only using left mouse buttons
2.Drag
selection should not be initiated when clicking through mouse wheel button
Scenario 2:
This means drag selection occurs even when the right mouse button is used, which is undesirable when a context menu is enabled, as both drag selection and the context menu can be triggered simultaneously.
Sample:https://blazorplayground.syncfusion.com/embed/rZVyDGBALHJMIsus?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5
Current Behavior:
DragSelection can be started with any mouse button (left/right).
If the context menu is enabled, right-clicking both selects and opens the context menu.
Expected Behavior:
DragSelection should only be triggered by a left mouse button click when the context menu is enabled.
Right-clicking should only display the context menu and not initiate DragSelection.