-
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
bug: Screen goes black: action sheet, modal.. etc #5430
Comments
Also would like to add that displaying an alert sometimes makes the screen go black too .. .only on iOS |
Can you please run |
I'm creating an ActionSheet object inside a NavController.present() call ... do I have to create the action sheet then present it?
|
Hmmm no. I am able to see it working using the given code in Chrome, Safari and Firefox and an iPhone 6 simulator running iOS 9.2. Can you inspect the screen and see where the black div is coming from? Also, do you have these lines in your webpack.config: ionic-team/ionic-conference-app@2ed59e6#diff-11e9f7f953edc64ba14b0cc350ae7b9dL8 |
I deleted the lines referring to web-animations from my webpack config file. I will try to inspect the emulator screen and I will get back to you. UPDATE: UPDATE 2
UPDATE 3 The function that triggers the ActionSheet is in /app/pages/main/main.ts line 141 Sorry if it's not so organized, I'm kind of a newbie to Github. |
Okay thanks! I'm about to board a plane so I can take a look later tonight or maybe this weekend. |
I appreciate your help. Have a safe trip. |
Thank you! So I downloaded your repo, ran
Could you try removing the |
My I just deleted the whole project and cloned it back from github, did
Also since you have tried the app, did you experience the issue I reported here: #5432 |
With the error |
I developed the app with Ionic alpha56
Am I missing something? |
@adamdbradley @brandyscarney do you think the issue is from Ionic or something else? have you managed to reproduce the problem? Thanks. |
Be sure the This fix would have also helped out with this issue: #5483 |
I see this issue pretty consistently when displaying modals in iOS. I cannot come up with a concrete way to reproduce it yet, though. |
UPDATE: I realized that fix was not included in the latest ionic release. So I cloned the repo and built it. However I still get the same results below, no change. I updated my app to latest version of Ionic and Angular. Looks like it works fine now but I still see the black background for a second there. |
I still haven't been able to reproduce this with the latest changes in master. Here's the test I've been using: https://github.com/driftyco/ionic/blob/2.0/ionic/components/action-sheet/test/basic/index.ts#L36 Does the button's handler return false? How can I update my test to replicate your issue? Thanks |
@adamdbradley you can checkout my repo here https://github.com/ihadeed/taskception/blob/master/app/pages/main/main.ts#L151 |
We're going to move this into beta.3 because we believe it will be fixed in the next release. Can you test against beta.2 when we release and see if it fixes it? |
@brandyscarney will do for sure. I tested your repo version two days ago and it didn't make a difference. I will try again once you release beta 2. Thanks for following up. |
Thank you @brandyscarney and @adamdbradley. The issue is fixed now after updating to beta.2 I appreciate your help! |
@ihadeed Awesome! Glad it is working. 😄 |
FYI .. Using Here is a GIF demo: |
Ok, i see the issue now. On it! Thanks! |
Awesome, thanks for all the help, I think it should be fixed now. Thanks! |
Type: bug
Ionic Version: 2.x
Platform: ios 9 webview
When clicking a button to open an Action sheet or a modal, the screen goes black right away.
Console log would only output this (using Safari web inspector):
![image](https://cloud.githubusercontent.com/assets/13794420/12995590/7c7066bc-d0f6-11e5-904e-d7d1d260fccd.png)
The text was updated successfully, but these errors were encountered: