ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
129 stars 86 forks source link

ion-header disappears once user get back from choosing image from "Take Photo" using ion-input type='file" in iOS 14 and ionic 3 #1130

Open ShilpaP17 opened 3 years ago

ShilpaP17 commented 3 years ago

I'm submitting a ...** (check one with "x") [ x] bug report [ ] feature request

Current behavior: We are using ion-input type=file to pick multiple images. Once we click on that button it shows three options in iOS Take Photo, Photo Library and Browse. Once we select "Take Photo", Camera gets open and after that we navigate back our app page ( with or without selecting images) ion-header disappears from all app. It is only happening if we select "Take Photo". This issue is in iOS 14.

Expected behavior: Header should not disappear if we come back in app

Steps to reproduce:

  1. Just select "Take Photo" option to pick up multiple images. in iOS 14 then Camera gets open and come back to app page, header will be disappers

Related code: <ion-input type="file" accept="image/*" multiple (change)="getFiles($event)">

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below): cli packages: (/Users/username/Desktop/projectname/node_modules)

@ionic/cli-plugin-proxy : 1.5.8
@ionic/cli-utils        : 1.19.3
ionic (Ionic CLI)       : 3.20.1

global packages:

cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1) 

local packages:

@ionic/app-scripts : 3.2.0
Cordova Platforms  : android 8.1.0 ios 5.1.1
Ionic Framework    : ionic-angular 3.9.10

System:

Node : v10.20.1
npm  : 6.14.4 
OS   : macOS

Environment Variables:

ANDROID_HOME     : not set
HTTP_PROXY       : not set
http_proxy       : not set
HTTPS_PROXY      : not set
https_proxy      : not set
IONIC_HTTP_PROXY : not set
PROXY            : not set
proxy            : not set

Misc:

backend : pro