<?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: Menu-item auto-close in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526661#M709</link>
    <description>&lt;P&gt;Sure. ESRI's own example. I forked it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/lkoumis1/pen/zYVjpKN?editors=1000" target="_self"&gt;https://codepen.io/lkoumis1/pen/zYVjpKN?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just click for example, the East and then SouthEast. You expect that after you click the SouthEast you will close the menu, instead it will stay open. Also, is there a way to reduce the spacing between&amp;nbsp; the items. See my screenshot, it take a lot of space. What is the css for this. Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LefterisKoumis_0-1724444079355.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113399i8F99761B264D27A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LefterisKoumis_0-1724444079355.png" alt="LefterisKoumis_0-1724444079355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 20:15:28 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2024-08-23T20:15:28Z</dc:date>
    <item>
      <title>Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526650#M707</link>
      <description>&lt;P&gt;After you click the calcite-menu/submenu item, provided there is no other submenu-item, the only way to close it, is to click anywhere else other than on the menu? Is it an industry standard after you click on a menu item to close itself?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 19:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526650#M707</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-23T19:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526656#M708</link>
      <description>&lt;P&gt;Hey, do you happen to have a codepen or something that shows the behavior that you're describing?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 20:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526656#M708</guid>
      <dc:creator>DitwanDPrice</dc:creator>
      <dc:date>2024-08-23T20:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526661#M709</link>
      <description>&lt;P&gt;Sure. ESRI's own example. I forked it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/lkoumis1/pen/zYVjpKN?editors=1000" target="_self"&gt;https://codepen.io/lkoumis1/pen/zYVjpKN?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just click for example, the East and then SouthEast. You expect that after you click the SouthEast you will close the menu, instead it will stay open. Also, is there a way to reduce the spacing between&amp;nbsp; the items. See my screenshot, it take a lot of space. What is the css for this. Thank you.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LefterisKoumis_0-1724444079355.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/113399i8F99761B264D27A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LefterisKoumis_0-1724444079355.png" alt="LefterisKoumis_0-1724444079355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 20:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526661#M709</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-23T20:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526680#M710</link>
      <description>&lt;P&gt;Thank you, You are indeed correct that the menu not closing is an unintended behavior, and I'll be logging an issue to ensure it's addressed in a future release.&lt;/P&gt;&lt;P&gt;Regarding the spacing between menu items, this is not currently customizable, and there are no immediate plans to introduce this functionality. However, I will bring this up with the team for further discussion to see if we can consider it for a future update.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 21:00:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526680#M710</guid>
      <dc:creator>DitwanDPrice</dc:creator>
      <dc:date>2024-08-23T21:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526686#M711</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Can you please provide me the link for this issue, so I can follow the discussion. Thank you. &lt;A href="https://github.com/Esri/calcite-design-system/issues" target="_blank"&gt;https://github.com/Esri/calcite-design-system/issues&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 21:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526686#M711</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-23T21:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526693#M712</link>
      <description>&lt;P&gt;Definitely, here you go!&amp;nbsp;&lt;A href="https://github.com/Esri/calcite-design-system/issues/10153" target="_blank"&gt;https://github.com/Esri/calcite-design-system/issues/10153&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 21:33:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1526693#M712</guid>
      <dc:creator>DitwanDPrice</dc:creator>
      <dc:date>2024-08-23T21:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1527512#M717</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/14521"&gt;@LefterisKoumis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a temporary &lt;A href="https://codepen.io/Ditwan-Price/pen/YzovYQe?editors=1011" target="_blank" rel="noopener"&gt;workaround&lt;/A&gt; you can use. In the CodePen example, the workaround is applied only to the leaf menu items under 'West.'&lt;/P&gt;&lt;P&gt;To implement this, you'll need the JavaScript code and to add the (&lt;STRONG&gt;data-menu-item="close-on-select"&lt;/STRONG&gt;) attribute to the menu items you want to trigger the auto-close behavior.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 21:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1527512#M717</guid>
      <dc:creator>DitwanDPrice</dc:creator>
      <dc:date>2024-08-26T21:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Menu-item auto-close</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1527545#M718</link>
      <description>&lt;P&gt;Great. Thank you. Nice way to address the issue, temporarily, correct? So, there is no way through the use of css to adjust the spacing between the menu items? I have 12 items and it occupies 70% of the screen! Ridiculous.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 23:54:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/menu-item-auto-close/m-p/1527545#M718</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-26T23:54:02Z</dc:date>
    </item>
  </channel>
</rss>

