ionic-team / ionic-team/ionic-framework

bug: modal animation needs to account for viewport resizing when dismissing keyboard and modal

Đang mở
#22,018 7 bình luận 3 reaction 0 người được giao Xem trên GitHub
package: core type: bug
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

# Bug Report

**Ionic version:**
[x] **5.x**

**Current behavior:**
Issue originally reported here: [#20686](https://github.com/ionic-team/ionic-framework/issues/20686). Still seeing this on the latest version of Ionic Framework.

**Expected behavior:**
When dismissing a modal while the keyboard is open, the close animation should not be affected by the keyboard

**Steps to reproduce:**
Sample App here: https://github.com/cesaresantiago/keyboard-modal-dismiss-glitch

Run this code on an iOS device/simulator. Closing the modal by itself works fine, however, if the the keyboard is open the modal close animation closes to the height of the keyboard before snapping away the final 30% of the screen.

**Related code:**

**Ionic info:**

```
Ionic:
Ionic CLI : 6.11.0 (/Users/dallas/.nvm/versions/node/v14.6.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.2
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3
Cordova:
Cordova CLI : 9.0.3 (cordova-lib@9.0.2)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)
Utility:
cordova-res : 0.15.1
native-run : 1.0.0
System:
ios-sim : 8.0.2
NodeJS : v14.6.0 (/Users/dallas/.nvm/versions/node/v14.6.0/bin/node)
npm : 6.14.7
OS : macOS Catalina
Xcode : Xcode 11.6 Build version 11E708
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.