bug: Nightly - overflow-scroll="true" doesn't work on a view in standard sidemenu project.
Type: bug
Platform: android 4.4 webview
Overflow-scroll="true" on ion-content within a view is not working on Android 4.4 when using sidemenu project. This problem doesn't occur for beta 14 and cannot be repeated in desktop browser.
To repeat:
- Ionic start myApp sidemenu
- Add overflow-scroll="true" in ion-content for one of the views ie 'Browse'. Add more content.
- Run on android 4.4, bum scrolling not working in 'Browse' view.
This is a showstopper.
Any update on this issue?
+1, this also happens on iOS.
my <ion-content>'s stopped overflow-scrolling pretty much everywhere I'm using them, in-browser or on-device. Content is simply truncated.
Check 6e149eef9bf5fbee454448f6cfa6f0ea9cce60d3. It put an overflow:hidden; on .pane. Removing that restores the scroll behavior from 0.9.27.
I want to avoid hacking as much as I can, even simple changes. Ionic its a serious company so I believe they will address this point ASAP. Its so easy to repeat, yet it stops us from upgrading, not even mentioning people who will start from 1.0 version and be surprised with the newest 'stable' version. On 10 Mar 2015 05:23, "Christian Lilley" [email protected] wrote:
Check 6e149ee https://github.com/driftyco/ionic/commit/6e149eef9bf5fbee454448f6cfa6f0ea9cce60d3. It put an overflow:hidden; on .pane. Removing that restores the scroll behavior from 0.9.27.
— Reply to this email directly or view it on GitHub https://github.com/driftyco/ionic/issues/3251#issuecomment-77997753.
Well, in the short-term you can just use an override in your own CSS without hacking the ionic file:
.pane {
overflow-y: scroll;
}
just wrote this fix tonight: add the following if-statement around line 1786 in ionic.bundle.js (RC1), like this:
if (ev.direction != 'up' && ev.direction != 'down') {
ev.srcEvent.preventDefault();
}
Note: when this happens in iOS, it's related to #3267
Quick update, this is not resolved in rc1.01.
Also
.pane {
overflow-y: scroll;
}
does not solve the problem.
@cyptus's workaround solves the problem...
@perrygovier can you confirm when you plan to resolve this one?
Thanks
cciszak
http://miyonline.net/foreks
22.03.2015, 21:09, "cciszak" [email protected]:Quick update, this is not resolved in rc1.01.
Also
.pane { overflow-y: scroll; }
does not solve the problem.
However, what I noticed is that, when running on a device, the scrollbar seems to think that there is nothing to scroll, although the content is still available to scroll. does it ring a bell?
—Reply to this email directly or .
Thank you cyptus! This solves the issue. I was banging my head for awhile on this one.
Hello! Are you all still having this issue with the latest version of Ionic (ionic 1.2.4)?
I have Ionic version 1.7.14 and when I created my app and there is login screen and when rotating device to landscape then scroll not working in this "login" view.
I also disabled navbar in this view but this is not the issue.
If I just comment my Login view code out and copy-paste some another view code there where landscape scrolling works then it works in login screen as well.
If I change overflow-scroll="true" > overflow-scroll="false" then I can drag to down but it jumps to up back when I release my finger. So if overflow-scroll is disabled then can drag but cant scroll.
Pretty nice party blocker. :(
+1 for a fix to this problem.
+1
Having the same issue using tabs. It looks like there is a fixed height that you can scroll within ion-content, even though the height is set to auto.
Here is my html structure:
<ion-pane>
<div>
<md-tabs>
<md-tab>
<ion-view>
<ion-content>
<ion-list>
I'll only get about 20 of my list items in my scrollable area, theres about 40 items in my dom that I can't get to. The above css hack doesn't work in my case. This is killing me.
+1 for this issue in 2.1.18
This issue was moved to driftyco/ionic-v1#5
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.