Skip to content

4.0.0-beta.3 - breakpoints are broken in Safari with new support for fractional viewport widths #25166

Closed

Description

@liquidvisual

Beta 3 has broken some of my sites that were using the breakpoint-down mixin. This seems to only be affecting Safari (MacOS and iOS).

I realise this has to do with the support for fractional viewport widths as discussed here.

I've put together a Codepen to demonstrate this:

https://codepen.io/liquidvisual/pen/VyWMGM?editors=1100 (open in Safari)

Activity

  1. patrickhlauke commented on Jan 2, 2018

    @patrickhlauke
    Member

    Due to a bug in Safari. Will see if there's some way to work around this bug.

  2. added
    browser-bug
    css
    on Jan 2, 2018
  3. self-assigned this
    on Jan 2, 2018
  4. MartijnCuppens commented on Jan 2, 2018

    @MartijnCuppens
    Member

    This case can easily be solved with not: https://codepen.io/MartijnCuppens/pen/LeLgRN/?editors=1100

    However, for media-breakpoint-between and media-breakpoint-only this will not solve a thing because you can only use not to invert a media-query-rule and not a part of a media-query rule.
    For example @media (min-width: $min) and not (min-width: $max) doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

browser-bugcss

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions