Both sm and xs breakpoints are active when screen width is 600px
See original GitHub issueBug Report
What is the expected behavior?
I believe xs is supposed to kick in at 599px so I’d expect that only sm would be active at this point.
What is the current behavior?
Both sm and xs are active.
What are the steps to reproduce?
<div fxHide fxShow.gt-xs>fxHide fxShow.gt-xs</div>
<div fxHide fxShow.sm>fxHide fxShow.sm</div>
<div fxHide fxShow.xs>fxHide fxShow.xs</div>
When viewport width is exactly 600px all of these elements will display.
Example here: https://stackblitz.com/edit/angular-flex-layout-seed-aojwqc
What is the use-case or motivation for changing an existing behavior?
Having both breakpoints active can lead to unexpected renders.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All as far as I know.
Is there anything else we should know?
Nope.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Overview - Bootstrap
Choose from a responsive, fixed-width container (meaning its max-width changes at each breakpoint) or fluid-width (meaning it's 100% wide all the time). While ......
Read more >Tailwind breakpoint not working to specify width on small ...
On mobile I want each element to be stacked in column and the buttons to take the full width of the container. On...
Read more >Display Breakpoints - Vuetify
It exposes a number of properties on the $vuetify object that can be used to control aspects of your application based upon the...
Read more >Using Breakpoints and Media Queries in Material-UI
xs, extra-small: 0px; sm, small: 600px; md, medium: 960px; lg, large: 1280px ... When the screen size is 600px and above, it will...
Read more >Responsive Design - Tailwind CSS
To add a utility but only have it take effect at a certain breakpoint, ... Width of 16 by default, 32 on medium...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@CaerusKaru No problem, I’ll submit a PR with this fix.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.