<?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: ArcGIS JSAPI using CSS Grid for Layout in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-jsapi-using-css-grid-for-layout/m-p/1007348#M71034</link>
    <description>&lt;P&gt;Lance,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Here is a css rule that works on my end using Chrome and IE 11, for removing the focus ring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;    .esri-view:focus, 
    .esri-view-root:focus,
    .esri-view .esri-view-surface:focus {
      outline: -webkit-focus-ring-color none !important;
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 13:50:47 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-12-07T13:50:47Z</dc:date>
    <item>
      <title>ArcGIS JSAPI using CSS Grid for Layout</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-jsapi-using-css-grid-for-layout/m-p/1007283#M71028</link>
      <description>&lt;P&gt;I am working on a new app were the map is not the primary focus.&amp;nbsp; I am using CSS Grid and Flex to layout the single page.&amp;nbsp; I noticed that the mapView focus rectangle around the map when active is not displaying correctly when the containing DIV is placed using Grid or Flex.&amp;nbsp; Below are screen shots showing the difference between the two.&amp;nbsp; The first being a normal DIV placed as a block and the second placed using CSS Grid.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_01.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1568i38E50DFBA11B89D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture_01.PNG" alt="Capture_01.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_02.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/1567i3BB35AD4D51E3ACC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture_02.PNG" alt="Capture_02.PNG" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;The two examples are from&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/30"&gt;@AllanLaframboise&lt;/a&gt;&amp;nbsp;post on GitHub -&amp;nbsp;&lt;A href="https://github.com/alaframboise/arcgis-js-app-patterns" target="_blank" rel="noopener"&gt;GitHub - alaframboise/arcgis-js-app-patterns: Examples of how to accomplish simple app designs and styling with the ArcGIS JS API v4.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I also tried to remove the focus rectangle by adding the following to my CSS as noted by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.esri-view .esri-view-surface--inset-outline:focus::after {
  outline: none !important;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;This removes the focus rectangle from the normal DIV but has no affect on the one placed using CSS Grid.&lt;/P&gt;&lt;P&gt;Any ideas on how to clean this up or remove the&amp;nbsp;focus rectangle from a DIV placed using CSS Grid?&amp;nbsp; It does not appear to be causing any other issues other than it really looks bad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 04:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-jsapi-using-css-grid-for-layout/m-p/1007283#M71028</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2020-12-07T04:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JSAPI using CSS Grid for Layout</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-jsapi-using-css-grid-for-layout/m-p/1007348#M71034</link>
      <description>&lt;P&gt;Lance,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Here is a css rule that works on my end using Chrome and IE 11, for removing the focus ring.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;    .esri-view:focus, 
    .esri-view-root:focus,
    .esri-view .esri-view-surface:focus {
      outline: -webkit-focus-ring-color none !important;
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 13:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-jsapi-using-css-grid-for-layout/m-p/1007348#M71034</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-12-07T13:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JSAPI using CSS Grid for Layout</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-jsapi-using-css-grid-for-layout/m-p/1007363#M71035</link>
      <description>&lt;P&gt;Thanks Robert, spot on as usual.&lt;/P&gt;&lt;P&gt;Before applying your CSS, I did notice if you refresh the browser and click on the map area before the basemap renders you can see the correct&amp;nbsp;&lt;SPAN&gt;focus rectangle.&amp;nbsp; However, the basemap appears&amp;nbsp;to be rendering on top&amp;nbsp;of the&amp;nbsp;focus rectangle despite&amp;nbsp;its z-order being set to 999.&amp;nbsp; Can this be addressed&amp;nbsp;similarly&amp;nbsp;using CSS to correct?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 14:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-jsapi-using-css-grid-for-layout/m-p/1007363#M71035</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2020-12-07T14:30:44Z</dc:date>
    </item>
  </channel>
</rss>

