ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
50.47k stars 13.53k forks source link

bug: iOS Modal Drag Animation Glitches #29369

Closed robinrobinrobinrobin closed 3 weeks ago

robinrobinrobinrobin commented 3 weeks ago

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

When swiping to close the iOS Card Modal it snaps to the top for a split second. Resulting in a glitchy swipe animation. (See the attached video)

https://github.com/ionic-team/ionic-framework/assets/39830658/d4f7dd7a-c516-42fb-8184-8d9d37329e3a

Expected Behavior

The iOS Card Modal should be as smooth in Safari (iOS and MacOS) as it is on Chrome or other browsers.

Steps to Reproduce

Code Reproduction URL

https://stackblitz.com/edit/z89fp8?file=package.json

Ionic Info

Ionic:

Ionic CLI : 7.1.1 (/opt/homebrew/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/vue 8.0.0

Capacitor:

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

Utility:

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

System:

NodeJS : v18.19.0 (/usr/local/bin/node) npm : 10.2.3 OS : macOS Unknown

Additional Information

No response

EinfachHans commented 3 weeks ago

Probably duplicate of #28467

While this ticket is closed, the fix will be included in upcoming ios 17.5, which is not published yet

liamdebeasi commented 3 weeks ago

Thanks for the issue. I am going to close this as a duplicate of #28467. This is a WebKit bug this will be fixed in the upcoming iOS 17.5 release.