You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After upgrade to 3.8.0, texts of action sheet's are displayed with a delay #13262
I'm submitting a ... (check one with "x")
[X ] bug report
Current behavior:
After the upgrade to ionic-angular 3.8.0, when I test my app on the same iPhone 6s and same app, no other code change, when action sheets are displayed, their texts are presented with a delay of 1 or 2 seconds.
changed the title [-]After upgrade to 3.8.0, texts of popover's are displayed with a delay[/-][+]After upgrade to 3.8.0, texts of action sheet's are displayed with a delay[/+]on Oct 27, 2017
git clone https://github.com/peterpeterparker/ionicPopoverDelay
npm install
ionic cordova build ios --prod
run on an iPhone 6s / iOS 11
in the app, click "Open action sheet"
Got it, the delay occurs if you don't specify a title to the action sheet
let actionSheet = this.actionSheetCtrl.create({
// title: 'Modify your album', <-- Omitting this option resolve in a delay of displaying the text
buttons: [
....
P.S.: Just downloaded my app from the store to be 100% sure that this delay wasn't already there with previous version of ionic-angular and could confirm, this delay only appears after the update to 3.8.0
We're hoping to release a 3.9.2 version soon with this in it. Please let me know if you're running into any issues with the nightly.
The issue was with the added -webkit-overflow-scrolling: touch, so we have decided to temporarily remove it. There were a few scenarios going on:
Not enough buttons to cause overflow, without title: flickering caused by the -webkit-overflow-scrolling: touch
Not enough buttons to cause overflow, with title: no flickering because the -webkit-overflow-scrolling: touch was not working, this was caused by something related to the action sheet title being a block element. Changing it to an inline element or inline block enabled the inertia scrolling.
Enough action sheet buttons to cause overflow: no flickering, inertia scrolling worked fine.
I updated my app and tested it quickly, it really improved the situation, the texts of almost all my action sheets are now displayed any delay.
I just observe one more delay on one particular action sheet, but strangely, if I go to another page, load a "non problematic" action sheet, go back to the one where I saw the delay, open it again, I'm not gonna face the delay again...weird
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.
Activity
mhartington commentedon Oct 27, 2017
Can you please provide a demo/example app? We've tested this out in the conference app, but could not see a delay
[-]After upgrade to 3.8.0, texts of popover's are displayed with a delay[/-][+]After upgrade to 3.8.0, texts of action sheet's are displayed with a delay[/+]peterpeterparker commentedon Oct 27, 2017
@mhartington freak I meant action sheets not popover (what a day...)
give me 5 I try to reproduce it with a minimal repo
peterpeterparker commentedon Oct 27, 2017
@mhartington here you go
Got it, the delay occurs if you don't specify a
titleto the action sheetP.S.: Just downloaded my app from the store to be 100% sure that this delay wasn't already there with previous version of ionic-angular and could confirm, this delay only appears after the update to 3.8.0
mhartington commentedon Oct 27, 2017
Weird, ok, I can confirm this. Seeming it too with your demo. Will look into it and mark this for 3.9.0, as this is a regression.
jayordway commentedon Nov 3, 2017
I have this issue after updating to 3.8.0 as well.
danielcrk commentedon Nov 6, 2017
I had two actions sheets in my app, one had this issue, one didn't. The one that worked fine had a title, the one with the delay problem didn't.
I added a title and the delay disappeared. Not sure if that is the actual reason tho, but might give a clue.
peterpeterparker commentedon Nov 6, 2017
@brandyscarney @mhartington do you think you will be able to fix this for
3.9.0? can I give a hand by testing or something?brandyscarney commentedon Nov 8, 2017
Thanks everyone and sorry for the delay on this! I've released a nightly with a fix:
We're hoping to release a
3.9.2version soon with this in it. Please let me know if you're running into any issues with the nightly.The issue was with the added
-webkit-overflow-scrolling: touch, so we have decided to temporarily remove it. There were a few scenarios going on:-webkit-overflow-scrolling: touch-webkit-overflow-scrolling: touchwas not working, this was caused by something related to the action sheet title being a block element. Changing it to an inline element or inline block enabled the inertia scrolling.peterpeterparker commentedon Nov 8, 2017
thx for the fix and explanation @brandyscarney
I updated my app and tested it quickly, it really improved the situation, the texts of almost all my action sheets are now displayed any delay.
I just observe one more delay on one particular action sheet, but strangely, if I go to another page, load a "non problematic" action sheet, go back to the one where I saw the delay, open it again, I'm not gonna face the delay again...weird
MikePaer commentedon Nov 13, 2017
I updated to
ionic-angular 3.9.2and confirmed the issue is fixed on my iOS device. Thanks!ionitron-bot commentedon Sep 1, 2018
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.