<?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: Webkit Scrollbar on calcite panel in Calcite Design System Questions</title>
    <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1261807#M339</link>
    <description>&lt;P&gt;Hello.&amp;nbsp; I am having similar issues with trying to restyle a scrollbar.&amp;nbsp; All scrollbars in the application are styled how I want them except the popup container.&amp;nbsp; The change happened when upgrading from 4.24 to the 4.25 JS API.&amp;nbsp; Any ideas on why the popup container is the only item in the app that does not style correctly?&amp;nbsp; I appreciate any help!&amp;nbsp; Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Feb 2023 21:07:56 GMT</pubDate>
    <dc:creator>EricErtl</dc:creator>
    <dc:date>2023-02-25T21:07:56Z</dc:date>
    <item>
      <title>Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170378#M122</link>
      <description>&lt;P&gt;I am trying to style a Calcite shell panel with a Webkit scrollbar using CSS and it is not working. It works on other sections of the page but the scrollbar on the calcite panel does not change. Does anyone have an idea of what to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 20:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170378#M122</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-05-03T20:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170416#M123</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/564347"&gt;@BobCowling2&lt;/a&gt;, are you aiming to add a scrollbar to accommodate items contained in the calcite-shell-panel, such as the calcite-action-bar? If so you could add CSS to the calcite-action-bar:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;style&amp;gt;
calcite-action-bar {
  overflow-y: auto;
}
&amp;lt;/style&amp;gt;

  &amp;lt;calcite-shell&amp;gt;
    &amp;lt;calcite-shell-panel slot="primary-panel" position="start" detached&amp;gt;
      &amp;lt;calcite-action-bar slot="action-bar"&amp;gt;
        &amp;lt;calcite-action text="Add" active icon="plus"&amp;gt;&amp;lt;/calcite-action&amp;gt;
        &amp;lt;calcite-action text="Save" disabled icon="save"&amp;gt;&amp;lt;/calcite-action&amp;gt;
        &amp;lt;calcite-action text="Layers" icon="layers"&amp;gt;&amp;lt;/calcite-action&amp;gt;
        &amp;lt;calcite-action slot="bottom-actions" text="Tips" icon="lightbulb"&amp;gt;&amp;lt;/calcite-action&amp;gt;
      &amp;lt;/calcite-action-bar&amp;gt;
    &amp;lt;/calcite-shell-panel&amp;gt; 
  &amp;lt;/calcite-shell&amp;gt;
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 22:48:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170416#M123</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-05-03T22:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170461#M124</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. I am simply trying to style the scrollbar using webkit. &lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar" target="_blank"&gt;https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The CSS seems to work on other elements such as the esri pop-up but not the calcite-shell-panel&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 00:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170461#M124</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-05-04T00:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170596#M125</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/564347"&gt;@BobCowling2&lt;/a&gt;, I would still recommend the same method in adding the ::webkit-scrollbar to the calcite-action-bar with the code from the previous answer and additional CSS from the doc page provided.&lt;/P&gt;&lt;P&gt;The calcite-shell-panel contains the calcite-action-bar tool group, so it is recommended to add a scrollbar to the calcite-action-bar.&lt;/P&gt;&lt;P&gt;Here's a &lt;A href="https://codepen.io/geospatialem/pen/gOvpRWv" target="_blank" rel="noopener"&gt;Codepen&lt;/A&gt; with the CSS additions.&lt;/P&gt;&lt;LI-CODE lang="css"&gt;calcite-action-bar {
  overflow-y: auto;
  display: block;
  overflow: auto;
  height: 100vh;
}
calcite-action-bar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #aaa;
}
calcite-action-bar::-webkit-scrollbar-thumb {
  background: #000;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Otherwise if you are aiming for something different, could you provide a code sample or Codepen, that reproduces the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 14:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170596#M125</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-05-04T14:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170743#M126</link>
      <description>&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;&lt;P&gt;I'm very sorry. Calcite design system is very new to me but I am giving it a try. You are correct that is the solution. Sadly. I made a mistake and I am not using action-bar. I am following this tutorial here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/calcite-design-system/tutorials/core-concepts/" target="_blank"&gt;https://developers.arcgis.com/calcite-design-system/tutorials/core-concepts/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where it is using different components to create the floating sidebar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;calcite-shell content-behind class="calcite-tutorial""&amp;gt;&lt;BR /&gt;&amp;lt;calcite-shell-panel slot="primary-panel"&amp;gt;&lt;BR /&gt;&amp;lt;calcite-panel&amp;gt;&lt;/P&gt;&lt;P&gt;Would you happen to be able to tell the correct CSS for that?&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 18:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170743#M126</guid>
      <dc:creator>BobCowling2</dc:creator>
      <dc:date>2022-05-04T18:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170803#M127</link>
      <description>&lt;P&gt;Ah, yes, thanks for the reference. For calcite-panel content you could add a div between the calcite-panel and its contents. Then add some CSS to the div. Here's a new &lt;A href="https://codepen.io/geospatialem/pen/xxYGjaj" target="_blank" rel="noopener"&gt;Codepen&lt;/A&gt; instance with the tutorial as an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;style&amp;gt;
.calcite-panel-contents {
  overflow-y: auto;
  display: block;
  height: 100vh;
}

::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #aaa;
}
::-webkit-scrollbar-thumb {
  background: #000;
}
&amp;lt;/style&amp;gt;

&amp;lt;calcite-shell content-behind&amp;gt;
    &amp;lt;calcite-shell-panel slot="primary-panel" detached&amp;gt;
      &amp;lt;calcite-panel heading="Panel Header Name"&amp;gt;
        &amp;lt;div class="calcite-panel-contents"&amp;gt;
        ... calcite-panel contents ...
      &amp;lt;/calcite-panel&amp;gt;
    &amp;lt;/calcite-shell-panel&amp;gt;
&amp;lt;/calcite-shell&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 19:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1170803#M127</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-05-04T19:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1241388#M280</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I am also trying to do this and I am stuck.&amp;nbsp; Inspecting the scrollbar I find that the class .content-wrapper is set to auto and I can't figure out a way to make it hidden.&amp;nbsp; When I update it to hidden in the debugger the large scrollbar to the left disappears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TomSellsted_0-1671057913543.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58608i2833ED350BE740D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TomSellsted_0-1671057913543.png" alt="TomSellsted_0-1671057913543.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I override the .content-wrapper class?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 22:46:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1241388#M280</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2022-12-14T22:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1241665#M281</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6438"&gt;@TomSellsted&lt;/a&gt;&amp;nbsp;Can you post a Codepen or code sample for troubleshooting?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 18:37:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1241665#M281</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-12-15T18:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1241691#M282</link>
      <description>&lt;DIV&gt;Thanks very much for the quick response!&amp;nbsp; Here is the code.&amp;nbsp; I wanted you to see all of it as I may have something that may be interfering in some way with the scrolling.&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks very much!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Dec 2022 19:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1241691#M282</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2022-12-15T19:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1244141#M284</link>
      <description>&lt;P&gt;Kitty,&lt;/P&gt;&lt;P&gt;You may have heard me smack my forehead...&amp;nbsp; I figured out my issue.&amp;nbsp; I was trying to set the class on the panel and not the actual contents.&amp;nbsp; Once I was setting it correctly it is working perfectly.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 22:58:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1244141#M284</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2022-12-28T22:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1244143#M286</link>
      <description>&lt;P&gt;It happens to the best of us, no worries. Glad to hear you got it working!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 23:01:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1244143#M286</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2022-12-28T23:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1261807#M339</link>
      <description>&lt;P&gt;Hello.&amp;nbsp; I am having similar issues with trying to restyle a scrollbar.&amp;nbsp; All scrollbars in the application are styled how I want them except the popup container.&amp;nbsp; The change happened when upgrading from 4.24 to the 4.25 JS API.&amp;nbsp; Any ideas on why the popup container is the only item in the app that does not style correctly?&amp;nbsp; I appreciate any help!&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 21:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1261807#M339</guid>
      <dc:creator>EricErtl</dc:creator>
      <dc:date>2023-02-25T21:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1261857#M341</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/75713"&gt;@EricErtl&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;Can you post a Codepen or code sample for troubleshooting?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As a side note, if using Calcite with a specific JavaScript Maps SDK version, we recommend using the same Calcite version coupled with the JavaScript Maps SDK release. For instance:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;STRONG&gt;ArcGIS Maps SDK for JavaScript&amp;nbsp;version&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;&lt;STRONG&gt;Calcite version&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/4.24/#additional-packages" target="_blank" rel="noopener"&gt;4.24&lt;/A&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;beta.82&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/4.25/#additional-packages" target="_blank" rel="noopener"&gt;4.25&lt;/A&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;beta.97&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%" height="25px"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/4.26/#additional-packages" target="_blank" rel="noopener"&gt;4.26&lt;/A&gt;&lt;/TD&gt;&lt;TD width="50%" height="25px"&gt;1.0.7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sun, 26 Feb 2023 19:56:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1261857#M341</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2023-02-26T19:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1295401#M419</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/574219"&gt;@KittyHurley&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;This solution worked great for a calcite panel but was curious if there was a way to do this will other components such as the popup?&amp;nbsp; I cannot override the popup panel, select, or combobox drop down scroll bars.&amp;nbsp; Could this be added as an ArcGIS Idea for Calcite Design System or is it not feasible?&amp;nbsp; Really not the biggest deal but when everything is styled nicely and then you have the big bulky default scrollbar (especially in dark mode) it throws it off.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1295401#M419</guid>
      <dc:creator>EricErtl</dc:creator>
      <dc:date>2023-06-02T15:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Webkit Scrollbar on calcite panel</title>
      <link>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1295512#M420</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/75713"&gt;@EricErtl&lt;/a&gt;&amp;nbsp;The popup would be related to the Maps SDK for JavaScript, so is out of the scope of Calcite.&lt;/P&gt;&lt;P&gt;As for adopting as part of Calcite in the future, the &lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar" target="_blank" rel="noopener"&gt;::webkit-scrollbar&lt;/A&gt; is a non-standard feature and doesn't have compatibility across browsers, including Firefox (desktop and mobile) and Safari on iOS.&lt;/P&gt;&lt;P&gt;Calcite aims to support the last two versions of Chrome, Firefox, Safari and Edge, and as of the non-standard feature would not pursue an enhancement at this time.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 20:13:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/calcite-design-system-questions/webkit-scrollbar-on-calcite-panel/m-p/1295512#M420</guid>
      <dc:creator>KittyHurley</dc:creator>
      <dc:date>2023-06-02T20:13:13Z</dc:date>
    </item>
  </channel>
</rss>

