pnp / pnp/sp-dev-fx-controls-react

Listview - Drag&Drop folder and content?

Open
#797 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:enhancement
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[x ] Enhancement

[ ] Bug

[x ] Question

Version

Please specify what version of the library you are using: [1.21.1 (SP2019 environment)]

Question

I am using the listview component and I would like to know if it is possible to drag&drop folders and their contents. If yes would it be possible to have an example? My scenario is very simple: copy a folder and its content from my laptop to a SharePoint documents library.

Observed Behavior

Currently when I drag&drop a folder into the component, I get only the folder and not files inside.

Thanks!

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

Start with the listview component's drag-and-drop handling in the TypeScript React controls and reproduce the reported behavior using version 1.21.1 in a SharePoint 2019 environment. Determine whether folder contents can be transferred to a SharePoint documents library; done means recursive folder-and-file handling is supported or a documented example clearly explains the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.