<?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: Bring Calcite Components to Front/Top in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/bring-calcite-components-to-front-top/m-p/1503262#M661</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/598905"&gt;@DrewNemecekIp&lt;/a&gt;, I think we have an issue to address what you are seeing. Does this sound correct?&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-design-system/issues/6818" target="_blank"&gt;https://github.com/Esri/calcite-design-system/issues/6818&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is also a workaround noted here:&amp;nbsp;&lt;A href="https://codepen.io/mac_and_cheese/pen/WNBNEWB?editors=1000" target="_blank"&gt;https://codepen.io/mac_and_cheese/pen/WNBNEWB?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 20:37:48 GMT</pubDate>
    <dc:creator>MattDriscoll</dc:creator>
    <dc:date>2024-07-09T20:37:48Z</dc:date>
    <item>
      <title>Bring Calcite Components to Front/Top</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/bring-calcite-components-to-front-top/m-p/1503218#M660</link>
      <description>&lt;P&gt;Hello. I am designing a UI with the Calcite Design System (2.6) and the JavaScript Maps SDK (4.29).&lt;/P&gt;&lt;P&gt;I am using modals as data entry forms in the shell's modals slot. I am using alerts in the alerts slot, and I also have a loader in the body outside of the shell. Below is the basic pattern with all irrelevant code removed.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-loader 
  label="Loading..."&amp;gt;
&amp;lt;/calcite-loader&amp;gt;
&amp;lt;calcite-shell content-behind hidden&amp;gt;
      &amp;lt;calcite-alert
        slot="alerts"&amp;gt;
      &amp;lt;/calcite-alert&amp;gt;
      &amp;lt;calcite-modal 
        slot="modals"&amp;gt;
      &amp;lt;/calcite-modal&amp;gt;
&amp;lt;/calcite-shell&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I am facing is that I cannot get the the alert to appear in front of the modal when the modal is in the modals slot. When the modal is not in the modals slot, the alert appears in front of the modal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further, regardless of where I put the modal and the loader, I cannot get the loader to pop up in front of any components.&lt;/P&gt;&lt;P&gt;I have tried using z-index in the following manner:&lt;/P&gt;&lt;LI-CODE lang="css"&gt;calcite-loader {
      position: relative;
      z-index: 100;
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, that does not work either. Is there a suggested pattern for accomplishing this, or is there some property I am missing?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 19:41:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/bring-calcite-components-to-front-top/m-p/1503218#M660</guid>
      <dc:creator>DrewNemecekIp</dc:creator>
      <dc:date>2024-07-09T19:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bring Calcite Components to Front/Top</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/bring-calcite-components-to-front-top/m-p/1503262#M661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/598905"&gt;@DrewNemecekIp&lt;/a&gt;, I think we have an issue to address what you are seeing. Does this sound correct?&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-design-system/issues/6818" target="_blank"&gt;https://github.com/Esri/calcite-design-system/issues/6818&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is also a workaround noted here:&amp;nbsp;&lt;A href="https://codepen.io/mac_and_cheese/pen/WNBNEWB?editors=1000" target="_blank"&gt;https://codepen.io/mac_and_cheese/pen/WNBNEWB?editors=1000&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 20:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/bring-calcite-components-to-front-top/m-p/1503262#M661</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2024-07-09T20:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bring Calcite Components to Front/Top</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/bring-calcite-components-to-front-top/m-p/1504934#M664</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16265"&gt;@MattDriscoll&lt;/a&gt;,&amp;nbsp;thank you for pointing me in the right direction. I had to redesign my modals, but this worked!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 17:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/bring-calcite-components-to-front-top/m-p/1504934#M664</guid>
      <dc:creator>DrewNemecekIp</dc:creator>
      <dc:date>2024-07-12T17:21:55Z</dc:date>
    </item>
  </channel>
</rss>

