ionic-team / ionic-team/ionic-framework

bug: grid breakpoints based on window causing grid to be wrong in modal

Đang mở
#23,203 5 bình luận 2 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:**

[ ] **4.x**
[x] **5.6.4**

**Current behavior:**
The grid sizing is relative to the screen size.

**Expected behavior:**
The grid sizing be relative to the modal size.

**Steps to reproduce:**
Use the code given to createa component, open a modal window with the given component, check in the console the calc is using 4 instead of 6.

**Related code:**

```










```

**Other information:**

**Ionic info:**

```
[WARN] Error loading @capacitor/core package.json: Error: Cannot find module '@capacitor/core/package'

Require stack:
- C:\Users\joao_\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
- C:\Users\joao_\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
- C:\Users\joao_\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
- C:\Users\joao_\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic

Ionic:

Ionic CLI : 6.12.4 (C:\Users\joao_\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.6.4
@angular-devkit/build-angular : 0.1100.7
@angular-devkit/schematics : 11.2.4
@angular/cli : 11.2.8
@ionic/angular-toolkit : 2.3.3

Capacitor:

Capacitor CLI : not installed
@capacitor/core : not installed

Utility:

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

System:

NodeJS : v14.15.4 (C:\Program Files\nodejs\node.exe)
npm : 6.14.10
OS : Windows 10
```

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.