<?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 ArcGIS API 4.1 Inside Bootstap Layout Breaks PopupTemplate in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-1-inside-bootstap-layout-breaks/m-p/372131#M34530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a page that uses a bootstrap layout and a 4.1 map as one of the elements of the page. &amp;nbsp;One of the feature layers is using popup templates to display attributes and everything works fine at a large screen size, but when I change the size of the screen I'm noticing that where I click on the map is not where the popup thinks I'm clicking. &amp;nbsp;I've been having to click below/south of the points to actually display a popup, and as I decrease the size of the screen the problem gets worse. &amp;nbsp;If&amp;nbsp;remove all of the other elements of the page and leave only the map, it works fine, and that includes leaving the references to bootstrap (below):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--Bootstrap--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmaxcdn.bootstrapcdn.com%2Fbootstrap%2F3.3.7%2Fcss%2Fbootstrap.min.css" rel="nofollow" target="_blank"&gt;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&lt;/A&gt;&lt;SPAN&gt;" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--ESRI JavaScript API--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.1%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.1/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;link href="css/snap.css" rel="stylesheet" /&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--jQuery--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fcode.jquery.com%2Fjquery-3.1.1.min.js" rel="nofollow" target="_blank"&gt;http://code.jquery.com/jquery-3.1.1.min.js&lt;/A&gt;&lt;SPAN&gt;" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--Bootstrap--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmaxcdn.bootstrapcdn.com%2Fbootstrap%2F3.3.7%2Fjs%2Fbootstrap.min.js" rel="nofollow" target="_blank"&gt;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js&lt;/A&gt;&lt;SPAN&gt;" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--ESRI JavaScript API--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.1%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.1/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;script src="js/snap_homepage_map.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But even if I put a header on the page it shifts or breaks the popup functionality. For a test, I rewrote the page in 3.18 and it didn't have the same problem, but the InfoTemplates and functionality are not as good for a mobile web page.&amp;nbsp;Does anybody have an suggestions about how to resolve this problem for 4.1 inside of a bootstrap layout? &amp;nbsp;I'd be glad to supply the full web page and script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chuck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 19:54:04 GMT</pubDate>
    <dc:creator>chuckfrank</dc:creator>
    <dc:date>2016-11-23T19:54:04Z</dc:date>
    <item>
      <title>ArcGIS API 4.1 Inside Bootstap Layout Breaks PopupTemplate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-1-inside-bootstap-layout-breaks/m-p/372131#M34530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a page that uses a bootstrap layout and a 4.1 map as one of the elements of the page. &amp;nbsp;One of the feature layers is using popup templates to display attributes and everything works fine at a large screen size, but when I change the size of the screen I'm noticing that where I click on the map is not where the popup thinks I'm clicking. &amp;nbsp;I've been having to click below/south of the points to actually display a popup, and as I decrease the size of the screen the problem gets worse. &amp;nbsp;If&amp;nbsp;remove all of the other elements of the page and leave only the map, it works fine, and that includes leaving the references to bootstrap (below):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--Bootstrap--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmaxcdn.bootstrapcdn.com%2Fbootstrap%2F3.3.7%2Fcss%2Fbootstrap.min.css" rel="nofollow" target="_blank"&gt;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&lt;/A&gt;&lt;SPAN&gt;" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--ESRI JavaScript API--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.1%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.1/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;link href="css/snap.css" rel="stylesheet" /&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--jQuery--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fcode.jquery.com%2Fjquery-3.1.1.min.js" rel="nofollow" target="_blank"&gt;http://code.jquery.com/jquery-3.1.1.min.js&lt;/A&gt;&lt;SPAN&gt;" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--Bootstrap--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fmaxcdn.bootstrapcdn.com%2Fbootstrap%2F3.3.7%2Fjs%2Fbootstrap.min.js" rel="nofollow" target="_blank"&gt;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js&lt;/A&gt;&lt;SPAN&gt;" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;!--ESRI JavaScript API--&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.1%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.1/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;script src="js/snap_homepage_map.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But even if I put a header on the page it shifts or breaks the popup functionality. For a test, I rewrote the page in 3.18 and it didn't have the same problem, but the InfoTemplates and functionality are not as good for a mobile web page.&amp;nbsp;Does anybody have an suggestions about how to resolve this problem for 4.1 inside of a bootstrap layout? &amp;nbsp;I'd be glad to supply the full web page and script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chuck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 19:54:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-4-1-inside-bootstap-layout-breaks/m-p/372131#M34530</guid>
      <dc:creator>chuckfrank</dc:creator>
      <dc:date>2016-11-23T19:54:04Z</dc:date>
    </item>
  </channel>
</rss>

