question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ion-select not scrollable on iOS

See original GitHub issue

Bug Report

Ionic version: [x] 4.x

Current behavior: ion-select with lots of select options is not scrollable on iOS.

img_8270

Expected behavior: ion-select should be scrollable when the number of select options don’t fit in view.

Steps to reproduce: Create a ion-select with 20 select options and run the app on iOS.

Other information: It works on Android. Multiple select <ion-select multiple> also seem to work on iOS, so it only happens on single-select ion-select.

Ionic info:

Ionic:
   ionic (Ionic CLI)             : 4.8.0 (/home/olav/.npm-global/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.11.4
   @angular-devkit/schematics    : 7.2.3
   @angular/cli                  : 7.2.3
   @ionic/angular-toolkit        : 1.2.0

Cordova:
   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.2, browser 5.0.4, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 9 other plugins)

System:
   Android SDK Tools : 26.1.1 (/home/olav/Android/Sdk)
   NodeJS            : v11.7.0 (/usr/bin/node)
   npm               : 6.6.0
   OS                : Linux 4.18

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
brandyscarneycommented, Feb 5, 2019

Thanks for the issue! I confirmed this is a bug in iOS on Chrome as well. It seems the culprit is here: https://github.com/ionic-team/ionic/blob/master/core/src/components/action-sheet/action-sheet.ios.scss#L35

This was likely caused by the PR fixing the translucent action sheet here: https://github.com/ionic-team/ionic/pull/16862

Can you try the following workaround:

.action-sheet-group {
    overflow: auto !important;
}

We’ll have to investigate this.

4reactions
danbecknercommented, Aug 6, 2019

@oal Good catch! Will also look into adding the safe-area for it. 🙂

Any timeframe on this? Still having this issue with IOS. It overflows into the top toolbar.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ion-select not scrollable on iOS · Issue #17311 - GitHub
Expected behavior: ion-select should be scrollable when the number of select options don't fit in view. Steps to reproduce: Create a ion- ...
Read more >
Inertia scroll on <ion-select interface="action-sheet"> for iOS
To enable inertial scrolling in an Ionic3 action-sheet, you need to add: -webkit-overflow-scrolling: touch; to the SCSS for the component.
Read more >
On IOS 12.2 scroll does not work after ion-select change value
This issue has been resolved and is available in Ionic 3.9.5. In your package.json update the version for ionic-angular to 3.9.5 then run...
Read more >
Overflow-y not scrolling on ios : r/ionic - Reddit
This works fine on Android devices and on ionic lab for iOS. But on an actual iOS device the grid doesn't scroll. Any...
Read more >
overscroll-behavior - CSS: Cascading Style Sheets | MDN
If you have overscroll-behavior: contain; selected, the outer container will not scroll unless you move your cursor out of the inner ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found