gregnb / gregnb/mui-datatables

draggableColumns issue when columns are not in the viewport

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

Description

## Expected Behavior
Columns should be draggable even if we use a checkbox and expandable in the table, which is out of the viewport.

## Current Behavior
Not able to drag the column which is not in the viewport/visible

## Steps to Reproduce
https://codesandbox.io/s/muidatatables-drag-columns-error-forked-fz8iwl?file=/index.js

1. Open the above link
2. Try to drag the last columns which are not in the viewport

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked CodeSandbox reproduction and follow its steps using the table with checkbox and expandable columns. Investigate the draggable-column behavior for the last columns outside the viewport; done means those columns can also be dragged successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.