<?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: iframe scrolling on map div in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137310#M12766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about using a different container in lieu of an iframe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 13:03:56 GMT</pubDate>
    <dc:creator>TyroneBiggums</dc:creator>
    <dc:date>2015-12-02T13:03:56Z</dc:date>
    <item>
      <title>iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137304#M12760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question that is probably more general web dev related than javascript api related, but I figured this would be the place to start.&amp;nbsp; I have a small javascript app that I am integrating into our webpage CMS through an iframe.&amp;nbsp; I've disabled the map pan and zoom functions in javascript so that users can't interact with the map other than click on the polygons to take them to another webpage.&amp;nbsp; My issue comes with viewing this webpage on a mobile device.&amp;nbsp; Whereas a user will typically swipe upward on a phone to scroll the page down, this functionality seems to be disabled when the user tries to swipe over the map div.&amp;nbsp; interestingly enough, if the user swipes over any of the other divs, (logo, button, title), it will scroll just fine.&amp;nbsp; I would like the user to be able to scroll over the entire page, including everything in the iframe.&amp;nbsp; I thought it might have something to do with content overflow in the iframe, so I tried setting the iframe in a div and styling that to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="css" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14490005487062026 jive_text_macro" data-renderedposition="239_8_912_16" jivemacro_uid="_14490005487062026"&gt;&lt;P&gt;overflow: hidden;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That didn't work either.&amp;nbsp; Has anyone else experienced this behavior with esri map divs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;here is the link to the iframed page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.fcva.us/departments/f-n/geographic-information-systems/testmappage" title="http://www.fcva.us/departments/f-n/geographic-information-systems/testmappage"&gt;Frederick County : Testmappage&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 20:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137304#M12760</guid>
      <dc:creator>AndrewFarrar</dc:creator>
      <dc:date>2015-12-01T20:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137305#M12761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.smashingmagazine.com/2014/02/making-embedded-content-work-in-responsive-design/"&gt;http://www.smashingmagazine.com/2014/02/making-embedded-content-work-in-responsive-design/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 20:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137305#M12761</guid>
      <dc:creator>TyroneBiggums</dc:creator>
      <dc:date>2015-12-01T20:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137306#M12762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it to work if I added&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;overflow&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; auto&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;-webkit-overflow-scrolling&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; touch&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the HTML tag within your iframe:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/150637_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 21:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137306#M12762</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-01T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137307#M12763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it was working... I just tried to reproduce it, unsuccessfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 21:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137307#M12763</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-01T21:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137308#M12764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Chris.&amp;nbsp; I tried adding those lines to the mapdiv itself, which then overflowed and scrolled within the iframe.&amp;nbsp; that still didn't scroll the whole parent frame though.&amp;nbsp; I added it to the styling for the iframe and iframe wrapper div within my CMS as well to no avail.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 22:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137308#M12764</guid>
      <dc:creator>AndrewFarrar</dc:creator>
      <dc:date>2015-12-01T22:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137309#M12765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the article on responsive design Tyrone, good tips on sizing in there.&amp;nbsp; I tried to make the app as responsive as I could so that it re-sizes nicely.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 22:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137309#M12765</guid>
      <dc:creator>AndrewFarrar</dc:creator>
      <dc:date>2015-12-01T22:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137310#M12766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about using a different container in lieu of an iframe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 13:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137310#M12766</guid>
      <dc:creator>TyroneBiggums</dc:creator>
      <dc:date>2015-12-02T13:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137311#M12767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe with the object tag?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 14:23:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137311#M12767</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-02T14:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137312#M12768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea, and/or embed... for HTML5&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/8702704/alternative-to-iframes-with-html5"&gt;http://stackoverflow.com/questions/8702704/alternative-to-iframes-with-html5&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 14:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137312#M12768</guid>
      <dc:creator>TyroneBiggums</dc:creator>
      <dc:date>2015-12-02T14:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137313#M12769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;nbsp; &amp;lt;meta charset="utf-8"&amp;gt;
&amp;nbsp; &amp;lt;title&amp;gt;Test Map&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;style&amp;gt;
#gisdiv, .html {
&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 800px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 600px;
&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow: hidden;
&amp;nbsp; display: block;
}
&amp;lt;/style&amp;gt;
&amp;lt;div id="gisdiv"&amp;gt;
&lt;SPAN&gt;&amp;nbsp; &amp;lt;object data="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgis2.co.frederick.va.us%2FAdminBOS%2F" target="_blank"&gt;http://gis2.co.frederick.va.us/AdminBOS/&lt;/A&gt;&lt;SPAN&gt;" width="100%" height="100%"&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;nbsp; &amp;lt;embed src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgis2.co.frederick.va.us%2FAdminBOS%2F" target="_blank"&gt;http://gis2.co.frederick.va.us/AdminBOS/&lt;/A&gt;&lt;SPAN&gt;" width="100%" height="100%"&amp;gt;&amp;lt;/embed&amp;gt;&lt;/SPAN&gt;
&amp;nbsp; &amp;lt;/object&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137313#M12769</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2021-12-11T07:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137314#M12770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a mock-up with the object embedded on a simple HTML page... I tried swipe scrolling emulating an iPhone in Chrome... the issue remains.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 14:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137314#M12770</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-02T14:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137315#M12771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, we gave it the ol' college try. I would have definitely have blamed iframes alone.&lt;/P&gt;&lt;P&gt;I'm out of ideas but I'm going to still follow this in case I ever need to tackle this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:04:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137315#M12771</guid>
      <dc:creator>TyroneBiggums</dc:creator>
      <dc:date>2015-12-02T15:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137316#M12772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help and suggestions everyone!&amp;nbsp; I didn't have any luck with the embed and object tags either.&amp;nbsp; The only way I could get the swiping to work was disabling the mouse-events on the div that the iframe sits within.&amp;nbsp; Of course that renders the app completely useless.&amp;nbsp; I'll keep the forum posted if I come across any other solutions/workarounds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 15:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137316#M12772</guid>
      <dc:creator>AndrewFarrar</dc:creator>
      <dc:date>2015-12-03T15:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137317#M12773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder - could you try self-hosting the API and digging-in to see if the API is doing something funky when you disable panning/zooming? Maybe you could create a custom fix...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 15:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137317#M12773</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-12-03T15:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: iframe scrolling on map div</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137318#M12774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have either of you tried embedding another, lighter, website instead of the map? Maybe try to jam google.com in there to confirm that it's actually the API? I can't remember if this was mentioned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2015 12:32:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iframe-scrolling-on-map-div/m-p/137318#M12774</guid>
      <dc:creator>TyroneBiggums</dc:creator>
      <dc:date>2015-12-07T12:32:43Z</dc:date>
    </item>
  </channel>
</rss>

