You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.
OSX is El Capitan. Chrome works fine, so I guess it's a problem with Safari.
No matter how I resize the Safari's window, it remains xxlarge.
My javascript takes advatnage of Foundation.MediaQuery.current, so it's crucial to get it respond on Safari properly.
The reported result is from from Safari's console, so surely it's got nothing to do with my coding.
regards
The text was updated successfully, but these errors were encountered:
jared83
changed the title
Foundation.MediaQuery.current ALWAYS returns 'xxlarge' on Safari
Foundation.MediaQuery.current ALWAYS returns 'xxlarge' on Safari (9.0.2)
Feb 18, 2016
If I return these values to default ones, Safari started to respond properly. I did set such large values on purpose, to make sure that the xlarge and xxlarge breakpoints can never be hit on any device/browser. Apparently Safari does hit such large breakpoints indiscriminately. Not sure if this should be considered a bug with Foundation, or Safari itself.
I would be grateful for any advice on how make sure these breakpoints can never be hit on all browsers in a better way. I did try simply removing the two largest breakpoints, but sass didn't like it, saying:
WARNING: breakpoint(): the media query "large only" cannot be used because large is the largest breakpoint.
Even so, I managed to get it all working in Safari by leaving these two breakpoints out. The constant warnings from sass whenever I save a file are annoying though.
I also wonder if leaving these breakpoints out won't influence any of the Foundation's js plugins or scss.
Anyone knows how to suppress the warnings from sass in gulp?
cheers
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OSX is El Capitan. Chrome works fine, so I guess it's a problem with Safari.
No matter how I resize the Safari's window, it remains xxlarge.
My javascript takes advatnage of Foundation.MediaQuery.current, so it's crucial to get it respond on Safari properly.
The reported result is from from Safari's console, so surely it's got nothing to do with my coding.
regards
The text was updated successfully, but these errors were encountered: