Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

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 this issue Feb 10, 2021 · 0 comments
Labels

Comments

@ShilpaP17
Copy link

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
@ionitron-bot ionitron-bot bot added the triage label Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant