Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vcoppolecchia opened this issue Mar 26, 2019 · 0 comments
Open

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

vcoppolecchia opened this issue Mar 26, 2019 · 0 comments

Comments

@vcoppolecchia
Copy link

vcoppolecchia commented Mar 26, 2019

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! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant