react-component / react-component/tree

multiple node selection via shift key to drag-and-drop?

Open
#768 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
490
Avg merge
3d 17h
Merged PRs (30d)
5

Description

Is there any way to select multiple nodes at multiple levels of a single parent by using 'shift-key' and by selecting first node from where you want to start your selection, and then by keep continue pressing 'shift-key' and select the node till where you want to make your selection. By this I'll say that I did select a lot of nodes of different levels by selecting 2 keys only.

For example: If top most node is parent, we will call it level-1. So under level-1 can we select 'n' number of nodes from level-2 & level-3 as per the scenario mentioned above?

Edit: Here what exactly required is to use the basic feature of shift-key.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the tree's selection and keyboard-handling entry points, then determine how a shift-key range across nested nodes should be defined. Done means the requested multi-level selection behavior is implemented and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.