<?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: PopupTemplate click target offset if any margin in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449296#M41501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be an issue with the v4 beta JSAPI - it doesn't appear to affect 3.15 - &lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=renderer_generate_renderer" title="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=renderer_generate_renderer"&gt;http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=renderer_generate_renderer&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 21:18:49 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2016-01-27T21:18:49Z</dc:date>
    <item>
      <title>PopupTemplate click target offset if any margin</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449295#M41500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"&gt;Using the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/beta/sample-code/sandbox/sandbox.html?sample=get-started-popup" style="color: #4078c0; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"&gt;Popup sample&lt;/A&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"&gt;, if you put any top/left margin at all on the viewDiv, the click target is offset by a corresponding amount (easier to see if you switch to displaying Point symbols).&amp;nbsp; For example, if you have a 20px left margin, you have to click 20px to the right of where the symbol is displayed on the map.&amp;nbsp; Similarly for any top margin (or other positioning).&amp;nbsp; Right/Bottom margins do not seem to affect anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"&gt;I think something in the API is making an assumption that the map will always be flush with the top left of the browser window, or possibly that it might be applying the offset twice, since you have to click in the opposite direction of where the feature/graphic would be located if the margin did not exist. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 20:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449295#M41500</guid>
      <dc:creator>MichaelMatuszak</dc:creator>
      <dc:date>2016-01-27T20:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate click target offset if any margin</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449296#M41501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be an issue with the v4 beta JSAPI - it doesn't appear to affect 3.15 - &lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=renderer_generate_renderer" title="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=renderer_generate_renderer"&gt;http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=renderer_generate_renderer&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 21:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449296#M41501</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-01-27T21:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate click target offset if any margin</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449297#M41502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think so.&amp;nbsp; Is this forum the best place to log the issue, or is there an actual bug tracking system I should be using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 14:25:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449297#M41502</guid>
      <dc:creator>MichaelMatuszak</dc:creator>
      <dc:date>2016-01-28T14:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate click target offset if any margin</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449298#M41503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Esri staff do monitor the forums - it's possible &lt;A href="https://community.esri.com/migrated-users/2906"&gt;Bjorn Svensson&lt;/A&gt;​ may have some insight and could log a bug (if it turns-out to be one). Since it is in beta, Esri is still working-out the kinks. Do you need v4 API functionality? I would be wary of using v4 in any sort of production capacity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 14:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449298#M41503</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-01-28T14:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate click target offset if any margin</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449299#M41504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The project is still a ways from release, but I wouldn't want to start any new development in 3.x considering the official guidance on migrating to 4.0 is "&lt;A href="https://developers.arcgis.com/javascript/beta/guide/migrating/index.html"&gt;Consider rewriting applications instead of simply trying to update them.&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It just so happens the first functionality we're implementing involves Popups on Point symbols, which this defect makes pretty unusable when embedded within our site.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 15:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449299#M41504</guid>
      <dc:creator>MichaelMatuszak</dc:creator>
      <dc:date>2016-01-28T15:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: PopupTemplate click target offset if any margin</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449300#M41505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/181321"&gt;Michael Matuszak&lt;/A&gt;​ - The best place to log issues is to contact Esri support - &lt;A href="http://support.esri.com/en/" title="http://support.esri.com/en/"&gt;http://support.esri.com/en/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for this issue, yes, that seems to be a bug with the beta 3. Thanks for letting us know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 15:29:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popuptemplate-click-target-offset-if-any-margin/m-p/449300#M41505</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2016-01-28T15:29:30Z</dc:date>
    </item>
  </channel>
</rss>

