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

[Modal] Add a failling test case #13350

Merged
merged 2 commits into from
Oct 23, 2018
Merged

[Modal] Add a failling test case #13350

merged 2 commits into from
Oct 23, 2018

Conversation

universalmind303
Copy link
Contributor

@universalmind303
Copy link
Contributor Author

a null check was removed from the codebase, This fixes the Modal onClose error: Cannot read property 'removeAttribute' of null that is now happening on the latest version of Material-UI

It looks like it was removed without properly confirming it was safe to remove in this PR
https://github.com/mui-org/material-ui/pull/13082/files

@universalmind303 universalmind303 changed the title fix: fixes #13349 [Modal] fix: Cannot read property 'removeAttribute' of null #13349 Oct 22, 2018
@oliviertassinari oliviertassinari self-assigned this Oct 22, 2018
@oliviertassinari oliviertassinari added test component: modal This is the name of the generic UI component, not the React module! labels Oct 22, 2018
@oliviertassinari oliviertassinari changed the title [Modal] fix: Cannot read property 'removeAttribute' of null #13349 [Modal] Add a failling test case Oct 22, 2018
@oliviertassinari
Copy link
Member

oliviertassinari commented Oct 22, 2018

@universalmind303 Thank you for taking the time to look into this pull request! @TomiCake has found a nice fix in #13351. I have changed the pull request a bit to contain a failing test case.

The failling test case for #13341 and #13349.

capture d ecran 2018-10-23 a 10 17 09

@oliviertassinari oliviertassinari merged commit ab67552 into mui:master Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: modal This is the name of the generic UI component, not the React module! test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants