gregnb / gregnb/mui-datatables

Filters - is that expected behaviour for Filters? [v3.7.6]

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

Description

Is this described behavior expected and if there is a way to fix styles of SelectField and Checkbox filter components?

## Steps to Reproduce
1. Update mui-datatables to the latest version '3.7.6'.
2. Open the page where there is a Table component with filters feature enabled and click on the Filter icon button.
3. SelectField filter kind does not wrap long values and looks like SelectFiled component or wrapping container do not extends for whole parent width.
4. Checkboxes are aligned in a list one by one in a column, NOT one by one in one line.

## Current Behavior
maybe expected?!
Screenshot 2021-03-17 at 13 19 58
Screenshot 2021-03-17 at 13 20 08
Screenshot 2021-03-17 at 13 20 16

## Expected Behavior
**[v.3.6.0]**
Screenshot 2021-03-17 at 13 27 21
Screenshot 2021-03-17 at 13 27 28
Screenshot 2021-03-17 at 13 27 34

## Environment
| Tech | Version |
|--------------|---------|
| Material-UI | "5.0.0-alpha.5" |
| MUI-datatables | "3.7.6" |
| React | "^16.13.1" |
| browser | Chrome (Version 89.0.4389.82) |
| etc | |

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the filter layout in mui-datatables 3.7.6 with React and Material-UI 5.0.0-alpha.5, then compare it with the 3.6.0 behavior shown in the issue screenshots. Investigate the SelectField wrapping and checkbox alignment; done means the filter components match the expected layout or the behavior is documented as intentional.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.