gregnb / gregnb/mui-datatables

MUIDataTable prevents all Drag&Drop operations on the site

Open
#1,909 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

If a `MUIDataTable` is present on the page, all drag & drop operations on the same site do not work.

Maybe related: https://github.com/react-dnd/react-dnd/issues/3304

## Expected Behavior

Rendering a `MUIDataTable` should not prevent drag & drop operations outside of the table scope.

## Current Behavior

No drag & drop operations possible

## Steps to Reproduce (for bugs)

https://codesandbox.io/s/mui-datatables-issue-kv4bgu

1. Try to drag a file into the input field --> Nothing happens
2. Click `Toggle Table Render`
3. Try to drag a file into the input field --> Input field updates with correct filename

## Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | 4.12.4 |
| MUI-datatables | 3.8.5 |
| React | 18 |
| browser | - |
| etc | - |

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.