Skip to content
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

[test] Share karma setup #576

Merged
merged 3 commits into from
Nov 16, 2020
Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Nov 14, 2020

Also, enable caching for the documentation with Next.js and Netlify, it should build faster.

@@ -68,6 +68,7 @@ describe('<XGrid />', () => {
});

describe('keyboard', () => {
/* eslint-disable material-ui/disallow-active-element-as-key-event-target */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove this? Is it difficult to fix the error?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's by design, there are rare cases, like this one, where the tradeoff is ok. See mui/material-ui#23488. But most of the time, it should be discouraged, I think. The fire event shouldn't use activeElement, it makes the logic harder to think about.

@oliviertassinari oliviertassinari merged commit 7baff71 into mui:master Nov 16, 2020
@oliviertassinari oliviertassinari deleted the netlify-cache branch November 16, 2020 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants