<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Picker error on Internet Explorer 11 when invoked during page load in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Picker-error-on-Internet-Explorer-11-when-invoked-during-page/m-p/297215#M18034</link>
    <description>&lt;P&gt;Every browser is implemented differently, so different behaviors may be expected across browsers. (For what it's worth though, I do see the same error here using your code in Chrome on macOS as well.)&lt;/P&gt;
&lt;P&gt;In any case, you should only&amp;nbsp;start the Chooser from a user-triggered event. E.g., call&amp;nbsp;Dropbox.choose when a button is hit; something like:&lt;/P&gt;
&lt;PRE&gt;    $(document).ready(function() {
        $("#button").on('click', function(e) {
            Dropbox.choose(options);
        });
    });&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Sep 2018 14:12:08 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-09-14T14:12:08Z</dc:date>
    <item>
      <title>Picker error on Internet Explorer 11 when invoked during page load</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Picker-error-on-Internet-Explorer-11-when-invoked-during-page/m-p/297134#M18029</link>
      <description>&lt;P&gt;- i am loading file picker when a html page loads&lt;BR /&gt;&lt;BR /&gt;- on Firefox, Chrome, Microsoft Edge&amp;nbsp; browsers it works fine&lt;BR /&gt;&lt;BR /&gt;- On IE-11 it gives error. &lt;BR /&gt;&lt;BR /&gt;error in console&lt;BR /&gt;&amp;gt; SCRIPT5022: Failed to open/load the window. Dropbox.choose and Dropbox.save should only be called from within a user-triggered event handler such as a tap or click event.&lt;BR /&gt;jquery.min.js (2,31689)&lt;BR /&gt;&lt;BR /&gt;In picker&lt;BR /&gt;&amp;gt; Could not communicate with https://host:port/&lt;/P&gt;
&lt;P&gt;- after that picker doesnt work.&lt;BR /&gt;&lt;BR /&gt;- pls comment. Also pls comment why behaviour is different in browsers and issue is only with IE-11&lt;BR /&gt;&lt;BR /&gt;http://localhost:8000/DropboxPicker.html&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;// simplified test
function loadPicker()
{
    let options = {
        success: printSelectedFile,
        linkType: "direct",
        multiselect: true
    };
    Dropbox.choose(options);
}&lt;BR /&gt;
function printSelectedFile()&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; ..&lt;BR /&gt;}&lt;BR /&gt;
// load picker
$(document).ready(loadPicker);
&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Picker-error-on-Internet-Explorer-11-when-invoked-during-page/m-p/297134#M18029</guid>
      <dc:creator>rrpai</dc:creator>
      <dc:date>2019-05-29T09:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Picker error on Internet Explorer 11 when invoked during page load</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Picker-error-on-Internet-Explorer-11-when-invoked-during-page/m-p/297215#M18034</link>
      <description>&lt;P&gt;Every browser is implemented differently, so different behaviors may be expected across browsers. (For what it's worth though, I do see the same error here using your code in Chrome on macOS as well.)&lt;/P&gt;
&lt;P&gt;In any case, you should only&amp;nbsp;start the Chooser from a user-triggered event. E.g., call&amp;nbsp;Dropbox.choose when a button is hit; something like:&lt;/P&gt;
&lt;PRE&gt;    $(document).ready(function() {
        $("#button").on('click', function(e) {
            Dropbox.choose(options);
        });
    });&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Sep 2018 14:12:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Picker-error-on-Internet-Explorer-11-when-invoked-during-page/m-p/297215#M18034</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-09-14T14:12:08Z</dc:date>
    </item>
  </channel>
</rss>

