-
Notifications
You must be signed in to change notification settings - Fork 3.4k
hide-sm not working screen smaller than 600px in 1.0.0 RC5 #5983
Comments
+1 |
Also, layout-sm is bugged too |
In fact all -sm aren't working |
Discovered the same issue today after running See: 3d65dea It should actually become the official breakpoints in the next release, i.e. -xs will become the smallest and -xl will act more or less as the previous gt-lg (although it is supposed to have a limit...) |
The problem is, the breakpoints changed, but the directives dont, so I can't do hide-xs, can I? Also, the docs are outdated too. |
Yes @felipemeirelles, I have the same problem and can't use things like |
@felipemeirelles is correct. xs was introduced, but xs doesn't work, so no sm size is functional. |
@zevmo |
@julienpa You're right. I meant to say that hide-xs isn't working for me. Sorry. |
@windhunter89 - where do you see this invalid/incorrect @medai query? The latest builds appear correct: https://github.com/angular/bower-material/blob/master/angular-material.css#L2798. Our release of 1.0.0-rc6 (today), will show the breaking changes introduced on Nov 28 & 29. See the commit details here: |
@julienpa - are you using the latest build from master ? If yes, please provide a CodePen that demonstrates the issue with hide-xs. Thx. |
@ThomasBurleson I was using |
I have the same is issues: This doesn't work: When I add the class by hand it works: I'm on: |
@Mylogin-info - Thx this is helpful. We will resolve today. |
* Refactor Layout API directive registration to iteration all known breakpoints. * Update `layout.spec.js` tests to test all breakpoints Fixes #5983.
@windhunter89, @Mylogin-info, @julienpa, @zevmo - Thanks for this issue report and your persistence. This revealed some important oversight(s) for xs, gt-xs, and xl breakpoints that were missing in recent Layout api changes.
|
* Refactor Layout API directive registration to iteration all known breakpoints. * Update `layout.spec.js` tests to test all breakpoints Fixes #5983.
It will also fix #5995 then. |
@media (max-width: 959px) and (min-width: 600px)
.hide-sm:not(.show-sm):not(.show), .hide:not(.show-sm):not(.show) {
display: none;
}
So it make smaller 600px screen show back the div
The text was updated successfully, but these errors were encountered: