internet explorer - filepicker in IE10 and IE11 browse file makes page unresponsive -


this first question ever asked on stackoverflow: using filepicker jquery library - ie9 works great, in ie10 , ie11 if "choose file" button pushed , picture gets uploaded way rest of form/page unresponsive @ least minute no matter size of image. after minute wait time people can type form on page , type input fields, not before. if drag , drop image dialogue window rest of form/page works great (no lag/unresponsiveness).

through testing: ie9 works great, other browsers (firefox, chrome, safari) seem work fine. ie11's debugger doesn't tell me useful.

has else experienced , if how did solve it?

from i'm seeing looks code (we use filepickers version through api

<script type="text/javascript" src="//api.filepicker.io/v1/filepicker.js"></script> 

) implemented correctly (though being pulled onto page dojo).

some of our code proprietary/intellectual property i'm pretty sure i'd trouble if posted it. looking out in wild see if else has problem , if they've solved , how.

turns out 2 separate issues tag teaming against ie10 , ie11.

1). going on , filepicker's "choose file" option there seemed latency in letting mousedowns return true (for reason behaved return false). since don't control api , can partially @ code returned i'm using word "seemed".

and 2). third party tracking stuff added on page lot of console.blah's involved caused ie10 , ie11 lag. (console isn't available ie10 , ie11 until debugger panel open).

the solution worked charm me:

<script type="text/javascript">     jquery(document).ready(function($){         $('input[type="text"]').on("mousedown", function(){             this.select();             return true;         });         if(!window.console) {             var console = {                 debug : function(){},                 dir : function(){},                 log : function(){},                 warn : function(){},                 error : function(){},                 time : function(){},                 timeend : function(){}             }         }     }); </script> 

these 2 combined allowed other input fields ie10 , ie11 perform in ie9, ff, chrome.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -