-
Notifications
You must be signed in to change notification settings - Fork 661
DataGrid - Tab key should activate editor with virtual scrolling enabled (T1290811) #30601
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 - Tab key should activate editor with virtual scrolling enabled (T1290811) #30601
Conversation
|
|
||
| const eventRowKeys = await ClientFunction(() => (window as any).eventRowKeys)(); | ||
|
|
||
| await t.expect(eventRowKeys).eql([49, 49, 49, 49, 49, 49]); |
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.
Why was the allowUpdating callback called 6 times? The check is not obvious. If we don’t care about the number of times this callback is called, maybe it’s enough to check that there are no invalid values among the keys?
Or we could add only unique keys to the eventRowKeys array and check those.
|
|
||
| const eventRowKeys = await ClientFunction(() => (window as any).eventRowKeys)(); | ||
|
|
||
| await t.expect(eventRowKeys).eql([48, 48, 48, 48, 49, 49, 49]); |
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.
The sameSame here. See the comment above.
No description provided.