We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
The floating point media-queries that have been introduced in beta.3 don't work correctly on iPad.
The code generated by media-breakpoint-up and media-breakpoint-down now looks like this:
media-breakpoint-up
media-breakpoint-down
@media (min-width: 768px) { .ipad-media-query-desktop { background: blue; } } @media (max-width: 767.99px) { .ipad-media-query-mobile { background: blue; } }
Now with these dummy divs you'd expect only one to be blue at any given screen size:
<div class="ipad-media-query-desktop">I'm blue on the big screen</div> <div class="ipad-media-query-mobile">I'm blue on the small screen</div>
On Chrome this works correctly if you jump back and forth between 767px and 768px, hower on iPad on portrait mode both are blue:
The text was updated successfully, but these errors were encountered:
Fixed via #25177
Sorry, something went wrong.
Ah thanks. I searched for "floating" and "media" but couldn't find anything in the issues.
No branches or pull requests
The floating point media-queries that have been introduced in beta.3 don't work correctly on iPad.
The code generated by
media-breakpoint-up
andmedia-breakpoint-down
now looks like this:Now with these dummy divs you'd expect only one to be blue at any given screen size:
On Chrome this works correctly if you jump back and forth between 767px and 768px, hower on iPad on portrait mode both are blue:
The text was updated successfully, but these errors were encountered: