-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: ion-side-menu-content does not adjust switching portrait/landscape mode #5214
Comments
I'm having the same issue. What I'll currently do is, watch on resize or rotation event, and manually recalucalte ion-content where I find ion-side-menu-content. |
Nice hint! That's what i have done so far:
|
@beat-at-hartwig - just updated your code a bit. When switching different sites with such a content, you can have more than one ion-side-menu-content. That's why I suggest you create .length variable and use the for loop and update the width of all occurrences of ion-side-menu-content that you find. 👍 |
+1 |
+1 |
+1 |
Maybe a duplicate of #4898? |
Good to know. Have not seen it yet. Thanks. I will give it a try! |
My application does not adjust the
ion-side-menu-content
while switching between portrait and landscape mode. I could observe this issue running the application on an iPad withexpose-aside-when="large"
with an permanent openion-side-menu
. So starting the application in landscape keeps my contentwidth
on portrait mode, but it should be decreased. Starting in portrait mode and switching to landscape should increase thewidth
ofion-side-menu-content
. Apparently it does not work!Futher information:
ionic: 1.2.4.
cordova: 5.4.1
cordova-ios: 3.9.2
Viewport:
The text was updated successfully, but these errors were encountered: