<img src="./images/sendimage.svg"
@click="trigger_img"/>
<input
style="display:none"
:id="img_input_key" type="file" accept="image/*">
this used to work, if i want to trigger file upload behavior in chrome. but it's disabled now? am i getting it wrong or something, can someone explain, if this is going to be disabled in all major browsers? or is it just a bug? what will happen in mobile web?
Oct 11, 2022, Safari still supports this clicking ability.
don't mind the framework, i'm using Vue 2.6, but should have anything to do with the problem
CodePudding user response:
I had same problem I just re open and it work! Shut down Chrome completely and turn it back on