ionic-team / ionic-team/ionic-cli

Ionic Build for Production Breaks UI in iOS 11.3

未關閉
#3,107 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

**Ionic version:**
[ ] **2.x**
[x] **3.x**
[ ] **4.x**

**I'm submitting a ...**
[x] bug report
[ ] feature request

**Current behavior:**
Building the application for production breaks the UI interaction (inputs, buttons, forms elements, keyboard) in iOS 11.3.

**Expected behavior:**
Building for production should result in the application build working even more performant than in development.

**Steps to reproduce:**
Build the application for production with the --prod flag in an iOS 11.3 device.

**Related code:**

```javascript
ionic cordova run ios --prod --device
```
**Other information:**
I've already tested with different versions of the **app-scripts** module since I'm aware of the related reported issue [13718](https://github.com/ionic-team/ionic/issues/13718). So I also tested **uglify-es:3.2.2** version independently as a dev-dependency.

**Ionic info:**

```
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 7.1.0 / 8.0.0 (tested with both versions)
local packages:

@ionic/app-scripts : 3.1.7 / 3.1.8 (tested with both versions)
Cordova Platforms : android 6.3.0 ios 4.5.4
Ionic Framework : ionic-angular 3.9.2
System:

Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 6.1.2
Node : v8.11.1
npm : 5.6.0
OS : macOS High Sierra
Xcode : Xcode 9.3 Build version 9E145
```

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing `ionic cordova run ios --prod --device` on iOS 11.3 with the Ionic CLI, app-scripts, Cordova, and Ionic Framework versions listed in the report. Inspect the production-build path and its interaction with the iOS output; done means inputs, buttons, forms, and keyboard interaction work in the production build as they do in development.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
ios, typescript
領域
cli, mobile-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
32/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。