Skip to content

Menu not working on Safari 7 (iOS 7+) #16

@vcoppolecchia

Description

@vcoppolecchia

Hi @grubersjoe, is it possible for your fantastic menu to work on Safari 7 (on iPhone's iOS version number 7 and up)? I was thinking to some sort of code compilation to get to this result.

I've tried on BrowserStack the demo page you made available (in the readme of this repository) and also the website I'm working on (where I'm using your menu plugin) and they both fail, but in 2 different ways.

On the demo website

Here I get these 2 errors: Viewport argument key "shrink-to-fit" not recognizedand ignored. and SyntaxError: Unexpected token '>'. The second one is related to arrow functions, I'm thinking that maybe they're not supported on this browser, so not a big deal (presumably) once you compile the code, regarding the first error I don't know…
error-demo-page

On the website I'm working on

No errors at all on page load, but it happens that I get the menu visible by default and when I click the top right X to close it then I get logs about the registered event listeners emitted sm.open and sm.close, so I'm thinking this is a CSS problem (maybe).
behaviour-iphone

Any help and clarification will be much appreciated! 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions