Skip to content
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: Sheet modal overlay flashes when dismissed quickly using the handle on iOS #29288

Closed
3 tasks done
robholden opened this issue Apr 5, 2024 · 3 comments
Closed
3 tasks done
Assignees
Labels

Comments

@robholden
Copy link

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

A flash appears when dismissing a sheet modal by swiping the handle down quickly
bug-record

Expected Behavior

No flashing after dismiss

Steps to Reproduce

  1. Press "Open Modal" on iOS simulator
  2. Swipe down quickly with a short distance on the handle at the top of the modal sheet
  3. Watch modal dismiss, then flash

Code Reproduction URL

https://github.com/robholden/ionic-modal-flash

Ionic Info

Ionic:

Ionic CLI : 7.2.0 (/Users/rob/.nvm/versions/node/v20.9.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.8.3
@angular-devkit/build-angular : 17.3.3
@angular-devkit/schematics : 17.3.3
@angular/cli : 17.3.3
@ionic/angular-toolkit : 11.0.1

Capacitor:

Capacitor CLI : 5.7.4
@capacitor/android : not installed
@capacitor/core : 5.7.4
@capacitor/ios : 5.7.4

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v20.9.0 (/Users/rob/.nvm/versions/node/v20.9.0/bin/node)
npm : 10.5.0
OS : macOS Unknown

Additional Information

I can only replicate the problem when running natively via xcode on:

  1. Iphone 15 - Simulator
  2. Iphone 13 mini - Physical device
@EinfachHans
Copy link
Contributor

Probably duplicate of #28467

@liamdebeasi
Copy link
Contributor

Thanks for the report. As noted in #29288 (comment), this is a duplicate of #28467. The linked issue is a bug in WebKit, the engine that powers Safari on iOS. However, this issue has been resolved in a newer version of iOS, so I recommend updating your devices.

@liamdebeasi liamdebeasi closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
Copy link

ionitron-bot bot commented May 8, 2024

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators May 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants