-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add drag selection to grid (CP: #6243)
* feat: add grid rows selection by dragging support * refactor: rename attribute column-resizing to disable-text-selection * test: add scrolling logic tests * refactor: use _selectItem and _deselectItem functions * improve scrolling tests * bind event listeners in mixin * revert column-resizing renaming * remove lasso terminology * remove unnecessary click handler * cleanup * rename API to dragSelect * cleanup tests * prevent toggling checkbox or active item after dragging on single cell * add TS definition * address review comments --------- Co-authored-by: Tomi Virkki <virkki@vaadin.com> Co-authored-by: Felipe Lang <felipe.lang@ext.vaadin.com>
- Loading branch information
Showing
4 changed files
with
385 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.