Problem with menu on IPhone #132
Comments
I do not have iPhone to test it but will try it on iPad this afternoon... |
Hi, thanks for fast response What I want to achieve is the default behaviour as you say: pushing content out of viewport to show menu in original size (see below). You can see how it is supposed to be also on Android or Windows phone |
Sorry, my testingpage is not set up fully yet, give me half an hour.... On Safari in IPhone mode it works well here too, only on real IPhone it flaps. |
This is my initialization script:
|
What style/CSS you have applied to #wrapper_page? |
position: absolute; |
I'll have to check it latter in the afternoon on iOS/iPad (I don't have it with me in the office right now...). Basing on above mentioned it looks like #wrapper_page is not being pushed but squeezed... |
yes, that seems to be the case. |
I did put now almost everything back to original and have still the error, thus I think it is |
i'm quite much sure that's the problem. take a look here how can you tweak you viewport settings https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html |
I've just tested on iPad. Setting simply
will solve your problem. P.S. I've copied your code for test purposes at http://make.rs/test.html |
Hi |
If you don't want users to scale content (although I see many people out there do not recommend it) you can set the width and turn off user scaling as follows:
|
I tried "user-scalable", but makes no difference in IPhone behaviour.
Strange to me is, that the original menu from Codrops I have used on http://www.eurospine.org Thank you for your help. For me, this is still the best menu of this type! |
glad to hear you've found a workaround... if you don't need to support older browsers (i.e. IE 8) I would always recommend you to use Codrops MultiLevelPushMenu since it is relaying on CSS 3D Transforms. |
The reason we changed to your menu ist, that on Codrops MultiLevelPushMenu you cannot scroll down the menu if there are too many navigation-points to display on screen. On your menu this is possible. it is possible to scroll on the part outside of the menu, on former version v1 it was even possible to scroll the menu. BTW: is there a way to donate for your work? |
Dear adgsm
I am struggling with menu display on IPhone.
Instead of pushing content to the right and displaying menu, content gets minimized and menu gets displayed beside my content (see screenshot below or on www.compasso.ch). This happens since I have meta tag viewport set to content="width=320"
Do you have an idea how I can get this working?
The text was updated successfully, but these errors were encountered: