Safari on iOS 9 does not trigger click event on hidden input file
I have a website with an upload field, but the input is hidden with display: none; and I have a div for calling this action. It worked on iOS 8, but now after the iOS 9 update, nothing happens when I touch in the div. I've tried using the [0].click() or pure VanillaJS like document.getElementById('file_input').click() and nothing works. All these methods work between iOS 5 and iOS 8. If you want, link to this example on JSFiddle: https://jsfiddle.net/o1r265tz/6/embedded/result/ $(document).ready(function(){ $(document).on('click touchstart', '.upload-box', function(e){ e.stopPropagation(); $('