Mobile browser refreshes page after uploading a photo using Camera
<p>I have a fairly common file input field on my website, to upload pictures:</p>

<pre><code>&lt;input name="photos" type="file" accept="image/*"/&gt;
</code></pre>

<p>On dekstop, it works normally. On mobile, if I select an already existing picture from my gallery, it works normally, but if I choose to take a picture with the Camera, it switches to the Camera, I take the picture and, when I confirm it in Camera app, it goes back to browser, but it refreshes the page, and the photo won't go. The input will be empty.</p>