ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Native overflow not working on ios 8.2

Open loicfavory opened this issue 11 years ago • 14 comments

Type: bug

Platform: ios 8 webview

To reproduce it : create a new app :

ionic start myApp tabs cd myApp/ ionic platform add ios

Edit file www/templates/tab-dash.html and duplicate content to have scroll

Edit ion-content to add overflow-scroll property.

Run on Ipad mini, with iOS 8.2

Scroll is not working.

Seems it's working when removing -webkit-overflow-scrolling: touch on overflow-scroll class, but the scroll is not perfect.

Thanks for your help,

loicfavory avatar Mar 10 '15 09:03 loicfavory

I see this too, but I'm having trouble debugging it. As best I can tell, it's a webkit bug. When I remove cordova.js from my index.html scrolling works fine. I suspect this is from how Cordova uses iFrames to communicate. Are you able to confirm this?

perrygovier avatar Mar 11 '15 18:03 perrygovier

Don't have an iOs platform right now, but it seems it's related to iOs rather than webkit : http://stackoverflow.com/questions/26046373/iframe-scrolling-ios-8. Will give you a feedback of my iPad tomorrow.

Did you test it on older iOs versions ?

loicfavory avatar Mar 11 '15 19:03 loicfavory

@perrygovier Sorry for the delay, I did the test by removing cordova.js from index.html, I confirm it works fine. Did you find a solution ?

loicfavory avatar Mar 24 '15 08:03 loicfavory

loicfavory

http://bonjoursalon.kz/frontstocks_optionbit

24.03.2015, 11:57, "loicfavory" [email protected]: Sorry for the delay, I did the test by removing cordova.js from index.html, I confirm it works fine. Did you find a solution ?

—Reply to this email directly or .

Fayozjon avatar Mar 24 '15 17:03 Fayozjon

I see this too on my iOS 8.2 device. Happens in simulator for other versions of iOS too. Cordova 3.8 and 3.7 platforms.

krik avatar Mar 27 '15 14:03 krik

We have the same problem in our iOS App since last Xcode update - overflow-scroll="true" does not work in the views anymore.

The curious thing is that native scrolling in the modals works fine. Any idea how to quick fix this for now?

Rautec avatar Mar 29 '15 15:03 Rautec

No more problem for me. I updated Cordova (to 4.2.0) & ionic to rc.1-nightly-1155. Xcode 6.2 (6C131e)

loicfavory avatar Mar 30 '15 12:03 loicfavory

Thanks @loicfavory! I can confirm this works with Cordova iOS 3.8 and v1.0.0-rc.1-nightly-1154

krik avatar Mar 30 '15 13:03 krik

Thanks for the help. Update to nightly build helped.

Rautec avatar Mar 30 '15 18:03 Rautec

Hello, I'm having this same issue, this is only happening on iOS. I am currently on ionic 1.1.0 and cordova 5.0.0. If I remove the cordova.js script, the app scrolls normally. Does someone have another possible fix?

b3na avatar Oct 20 '15 17:10 b3na

I am having the same problem, I have Xcode 7 and cordova 5.3.3? Is there any quick fix for this?

stambe avatar Dec 15 '15 13:12 stambe

Same issue here, XCode 7.2 Cordova 6 and Ionic 1.7.14.

Scroll is working without cordova.js. Any solution?

peterpan666 avatar Feb 02 '16 10:02 peterpan666

The scroll bar does appear though.

When the cordova.js file is included, the content moves by just 1 pixel and the scroll bar appears too.

peterpan666 avatar Feb 02 '16 10:02 peterpan666

Hello all, thanks for opening an issue with us! I am going to close this for now as I cannot reproduce this on ios 9.3.2. it looks as if this was an iOS 8 WebKit bug. If you can still reproduce on ios 9 then feel free to comment and I will happily reopen.

jgw96 avatar Jun 14 '16 14:06 jgw96