Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DataGrid] Fix input element in custom header #3624
[DataGrid] Fix input element in custom header #3624
Changes from 27 commits
4c3f29d
bdc8bcf
e3d553d
7492d5e
e1355e8
90be856
6fa46ae
1cc0e76
25c21cb
bf009e0
01e4a78
6c4a2bc
5bb32e1
70137b8
a927737
cc67c2d
69c41ec
e06da3d
dda1b40
8345824
492f7ce
701d17c
6ba52c1
39094de
95c41b8
9368b11
e6bde22
27c80e5
4ccbbc7
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if we should have this test. An input inside a cell in view mode is not encouraged because in this mode cells are supposed to be read-only. If you fire a
ArrowDown
event the assertion will fail correctly because any keydown event should move the focus to the next cell. However, in edit mode, the assertion (once changed toArrowDown
) is correct. I would move this test to the cell editing suite and render the input inside a cell in edit mode.mui-x/packages/grid/x-data-grid/src/hooks/features/keyboard/useGridKeyboard.ts
Lines 60 to 63 in 62bb727
This can be done in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will open another PR for this one 👍