-
- Notifications
You must be signed in to change notification settings - Fork 32.7k
[Modal] Improve Gatsby support #17972
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
Conversation
Details of bundle changes.Comparing: 1e4d2db...231b922
|
d519049 to d27ff2c Compare
oliviertassinari left a comment
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 have spent some time pushing the effort forward. Most notably, I wanted to test the changes in IE 11, it forced me to fix some problems. Thanks for taking the time to open a pull request.
| import Modal from '@material-ui/core/Modal'; | ||
| import Backdrop from '@material-ui/core/Backdrop'; | ||
| import { useSpring, animated } from 'react-spring'; | ||
| import { useSpring, animated } from 'react-spring/web.cjs'; |
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.
d27ff2c to 231b922 Compare | transform: 'translateZ(0)', | ||
| // The position fixed scoping doesn't work in IE 11. | ||
| // Disable this demo to preserve the others. | ||
| '@media all and (-ms-high-contrast: none)': { |
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.
Crazy CSS hack
| The changes are risky, we might need to partially revert, let's see. I can see it to go wrong in 2 possible ways:
|
fixes #17812 [Modal] Improve Gatsby support