<?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: Popup doesn't scroll content on iPad in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189008#M17505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We had a similar problem and had to use the 3 finger slide to scroll up and down in a popup on the ipad.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Luci&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm unsure how you did this.&amp;nbsp; I tried, with multitasking gestures enabled and disabled, and I can't get the popup to scroll with 3 fingers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2014 18:58:42 GMT</pubDate>
    <dc:creator>ShawnHolyoak</dc:creator>
    <dc:date>2014-04-23T18:58:42Z</dc:date>
    <item>
      <title>Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189002#M17499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've a popup info window that displays the information from all identifies.&amp;nbsp; When the content exceeds the default length of the info window, a scroll bar appears and the user can view all the content.&amp;nbsp; The problem is, when I view my site on the iPad, the scroll bar doesn't appear in the info window.&amp;nbsp; All the content is there, but the user can't view it.&amp;nbsp; Any suggested approaches to fixing this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 20:45:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189002#M17499</guid>
      <dc:creator>ShawnHolyoak</dc:creator>
      <dc:date>2014-04-21T20:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189003#M17500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Shawn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested this in Safari on an iPad (5.1.1) and while I did not see the scroll bar, I was still able to pan down into the contents of the info window, and see all the contents there. Can you confirm if you are able to pan or scroll even without the scroll bar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Noah&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 16:59:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189003#M17500</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2014-04-22T16:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189004#M17501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Shawn,&lt;BR /&gt;&lt;BR /&gt;I tested this in Safari on an iPad (5.1.1) and while I did not see the scroll bar, I was still able to pan down into the contents of the info window, and see all the contents there. Can you confirm if you are able to pan or scroll even without the scroll bar?&lt;BR /&gt;&lt;BR /&gt;-Noah&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not able to pan down into the contents of the info window using Safari 5.1.1 as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to anticipate the question, my identify handler is very simple, shown below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;handleIdentifyResults: function(results) {
&amp;nbsp;&amp;nbsp; var countOfResults = 0;
&amp;nbsp;&amp;nbsp; var content = "";
&amp;nbsp;&amp;nbsp; var _this = this;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; results = array.filter(results, function (result) {//filter out any failed tasks
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result.length &amp;gt; 0;
&amp;nbsp;&amp;nbsp; }); 
&amp;nbsp; 
&amp;nbsp;&amp;nbsp; array.forEach(results, function (result) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i = 0; i &amp;lt; result.length; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content += "&amp;lt;b&amp;gt;" + shared.htmlEncode(result&lt;I&gt;.layerName) + "&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;";
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content += "&amp;lt;table&amp;gt;";
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var member in result&lt;I&gt;.feature.attributes) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content += "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;" + shared.htmlEncode(member) + ":&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;" +
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shared.htmlEncode(result&lt;I&gt;.feature.attributes[member]) + "&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content += "&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; countOfResults++;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var resultText;
&amp;nbsp;&amp;nbsp; if (countOfResults === 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; resultText = " Feature Identified";
&amp;nbsp;&amp;nbsp; }&amp;nbsp; else {
&amp;nbsp;&amp;nbsp;&amp;nbsp; resultText = " Features Identified";
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; mapControl.popup.setTitle(countOfResults + resultText);
&amp;nbsp;&amp;nbsp; mapControl.popup.setContent(content);
&amp;nbsp;&amp;nbsp; mapControl.popup.resize(320, 250);
&amp;nbsp;&amp;nbsp; mapControl.popup.show(this.clickEvt.screenPoint, map.getInfoWindowAnchor(this.clickEvt.screenPoint));
&amp;nbsp; }&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:31:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189004#M17501</guid>
      <dc:creator>ShawnHolyoak</dc:creator>
      <dc:date>2021-12-11T09:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189005#M17502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you test with this &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/noashx/YwfVB/"&gt;application&lt;/A&gt;&lt;SPAN&gt; in your iPad?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Click on a state to display the info window. I was able to scroll/pan with this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 16:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189005#M17502</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2014-04-23T16:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189006#M17503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We had a similar problem and had to use the 3 finger slide to scroll up and down in a popup on the ipad.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Luci&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 18:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189006#M17503</guid>
      <dc:creator>LuciHawkins</dc:creator>
      <dc:date>2014-04-23T18:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189007#M17504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you test with this &lt;A href="http://jsfiddle.net/noashx/YwfVB/"&gt;application&lt;/A&gt; in your iPad?&lt;BR /&gt;&lt;BR /&gt;Click on a state to display the info window. I was able to scroll/pan with this.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was also able to scroll/pan, but you're using an InfoWindowLite class, not the Popup class.&amp;nbsp; I forked your fiddle &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/64CJa/6/"&gt;here&lt;/A&gt;&lt;SPAN&gt;, and I can't scroll on the iPad using the Popup class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 18:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189007#M17504</guid>
      <dc:creator>ShawnHolyoak</dc:creator>
      <dc:date>2014-04-23T18:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189008#M17505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We had a similar problem and had to use the 3 finger slide to scroll up and down in a popup on the ipad.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Luci&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm unsure how you did this.&amp;nbsp; I tried, with multitasking gestures enabled and disabled, and I can't get the popup to scroll with 3 fingers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 18:58:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189008#M17505</guid>
      <dc:creator>ShawnHolyoak</dc:creator>
      <dc:date>2014-04-23T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189009#M17506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to solve the issue.&amp;nbsp; What I did is wrap my content in a div with an id and assign overflow-y: auto to the id via css.&amp;nbsp; Now it scrolls properly on the ipad.&amp;nbsp; I don't know why the esri div with class=contentPane&amp;nbsp; doesn't work, as it has overflow: auto as it's csss.&amp;nbsp; I'm wondering if it's related somehow to the fact that I was using a table to control the content layout.&amp;nbsp; Regardless, wrapping all the content in a div with overflow-y:auto solved it.&amp;nbsp; Thanks all!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 20:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189009#M17506</guid>
      <dc:creator>ShawnHolyoak</dc:creator>
      <dc:date>2014-04-23T20:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189010#M17507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's great, thank you for sharing the solution!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 20:20:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189010#M17507</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2014-04-23T20:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189011#M17508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shawn, this helped me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 16:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189011#M17508</guid>
      <dc:creator>DavidButz</dc:creator>
      <dc:date>2017-05-31T16:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Popup doesn't scroll content on iPad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189012#M17509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Shawn! I had a similar issue on all Apple devices from the moment that I used a table to control the content. I added plain text after the table and I could scroll in Apple devices again. Android doesn't seem to have any problem with a table in the popup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 08:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-doesn-t-scroll-content-on-ipad/m-p/189012#M17509</guid>
      <dc:creator>deleted-user-byYNSf-f9ge6</dc:creator>
      <dc:date>2018-03-29T08:42:16Z</dc:date>
    </item>
  </channel>
</rss>

