Skip to content

Commit

Permalink
Trigger photo choice immediately on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscant committed Jun 28, 2023
1 parent c6120cd commit 4b6199c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/OurFilePond.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export default {
setTimeout(() => { // this.$nextTick didn't work
const takePhoto = this.$el.querySelector('.take-photo')
if( takePhoto){
this.takeAppPhoto()
takePhoto.addEventListener('click', e => {
this.takeAppPhoto()
e.preventDefault()
Expand Down

0 comments on commit 4b6199c

Please sign in to comment.