-
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
How to scroll content of the page? (that sits outside of Ionic) #1792
Comments
Minimal viable test case:
(still trying to figure out which CSS properties should be removed in order for scrolling to work) |
Eureka moment :)
|
@stefek99 Where are you putting that CSS? In the main page or the iframe that holds the Ionic app? |
add two styles: scroll-content overflow-scroll |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using Ionic to build a mobile web app.

On larger screen I'm displaying an image:
At first I was using iframe but that was causing issues on iOS, eventually ended up using this: #1534 (comment)
Now that causes problems with scrolling:
Video: https://www.youtube.com/watch?v=ShNQr3eNUCM (2m 25s)
Plunker: http://plnkr.co/edit/TNU6iQN30WZgmqwg80Tl?p=preview
I wonder which CSS classes shall I modify to allow scrolling on body?
I know that it is outside core mission of Ionic but I'm pretty sure you can give me a hint.
Related question on SO: http://stackoverflow.com/questions/9280258/prevent-body-scrolling-but-allow-overlay-scrolling
Thanks!
The text was updated successfully, but these errors were encountered: