Skip to content

Commit

Permalink
fix(camera): Make input file hidden (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jun 17, 2021
1 parent bc56e03 commit cdc1835
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions camera/src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class CameraWeb extends WebPlugin implements CameraPlugin {
input = document.createElement('input') as HTMLInputElement;
input.id = '_capacitor-camera-input';
input.type = 'file';
input.hidden = true;
document.body.appendChild(input);
}

Expand Down

0 comments on commit cdc1835

Please sign in to comment.