Igor Talpa
Igor Talpa
@meirroth What's wrong with my solution? When you set `max-width: N`, greater resolutions then the edge one will not be trigger, so because of that I made the last query...
@meirroth Please try to test it with `window.matchMedia`
@meirroth Yes, but the issue here is that it sets the value based on the last truthy match. If you try to run every media query, you will see that...
@meirroth In this case yes, but you will be left with no breakpoint then, or as you did previously only by setting some large number which is not ideal
@meirroth If you want the `$xl` to false, change it from: ```typescript return this.viewport.isLessThan('xl') || this.viewport.match('xl'); ``` to: ```typescript return this.viewport.match('xl'); ```
@meirroth Are you referring to the latest release or the branch that I made for you?
> @meirroth Yes, but the issue here is that it sets the value based on the last truthy match. If you try to run every media query, you will see...
@meirroth I don't think that it should return nullable value because that could break something easily.
@meirroth I'm not sure what do you expect the breakpoint to be, because it cannot be nullable by design 😅
@meirroth Because if so there is something wrong with the query or the device