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

[useMediaQuery] Fix ssrMatchMedia requiring listener mixin #18501

Merged
merged 3 commits into from
Nov 22, 2019

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Nov 22, 2019

ssrMatchMedia in useMediaQuery does not implement the full window.matchMedia interface: no listeners, just matches.

Requires #18500
Part of #14897

@eps1lon eps1lon mentioned this pull request Nov 22, 2019
@eps1lon eps1lon added the on hold There is a blocker, we need to wait label Nov 22, 2019
@mui-pr-bot
Copy link

mui-pr-bot commented Nov 22, 2019

No bundle size changes comparing 7653673...5e18539

Generated by 🚫 dangerJS against 5e18539

@eps1lon eps1lon force-pushed the fix/useMediaQuery/ssrMatchMedia-type branch from 1ef2543 to 5e18539 Compare November 22, 2019 19:26
@eps1lon eps1lon removed the on hold There is a blocker, we need to wait label Nov 22, 2019
Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

Great!

@eps1lon eps1lon merged commit aa1705c into mui:master Nov 22, 2019
@eps1lon eps1lon deleted the fix/useMediaQuery/ssrMatchMedia-type branch November 22, 2019 19:48
eps1lon added a commit to eps1lon/material-ui that referenced this pull request Nov 25, 2019
eps1lon added a commit to eps1lon/material-ui that referenced this pull request Nov 25, 2019
eps1lon added a commit to eps1lon/material-ui that referenced this pull request Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants