<?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: calcite-shell-panel resize in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1247622#M79870</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/482854"&gt;@dcarson1661&lt;/a&gt;&amp;nbsp;, I think all you need to add is a position property to your calcite-shell-panel.&amp;nbsp;&lt;A href="https://codepen.io/sagewall/pen/YzjVgEM" target="_blank"&gt;https://codepen.io/sagewall/pen/YzjVgEM&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-shell-panel slot="panel-start" position="start" resizable &amp;gt;&amp;lt;/calcite-shell-panel&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 14:38:44 GMT</pubDate>
    <dc:creator>Sage_Wall</dc:creator>
    <dc:date>2023-01-12T14:38:44Z</dc:date>
    <item>
      <title>calcite-shell-panel resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1247507#M79862</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm struggling to make a calcite-shell-panel "resizable". &lt;A href="https://developers.arcgis.com/calcite-design-system/components/shell-panel/" target="_self"&gt;The docs&lt;/A&gt; suggest this should work, but I've been unable to implement it.&amp;nbsp; I'm assuming setting resizable = "true" will enable a grab handle on the element. Seems like I'm missing something.&lt;/P&gt;&lt;P&gt;Thanks in advance for any help on this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;html&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8" /&amp;gt;
    &amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" /&amp;gt;
    &amp;lt;title&amp;gt;Layout&amp;lt;/title&amp;gt;

    &amp;lt;script src="https://js.arcgis.com/calcite-components/1.0.0-beta.99/calcite.esm.js" type="module"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;link rel="stylesheet" href="https://js.arcgis.com/calcite-components/1.0.0-beta.99/calcite.css" /&amp;gt;

    &amp;lt;script src="https://js.arcgis.com/4.25/"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;link rel="stylesheet" href="https://js.arcgis.com/4.25/esri/themes/light/main.css" /&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;style&amp;gt;
    html,
    body,
    #viewDiv {
      padding: 0;
      margin: 0;
      height: 100%;
      width: 100%;
    }
    body {
      display: flex;
    }

    calcite-loader {
      align-self: center;
      justify-self: center;
    }

    #header-title {
      margin-left: 1rem;
      margin-right: 1rem;
    }

    #info-content {
      padding: 0.75rem;
    }

    calcite-rating {
      margin-top: 0.25rem;
    }
    
  &amp;lt;/style&amp;gt;

  &amp;lt;body&amp;gt;
    &amp;lt;calcite-loader&amp;gt;&amp;lt;/calcite-loader&amp;gt;
    &amp;lt;calcite-shell&amp;gt;
      &amp;lt;h2 id="header-title" slot="header"&amp;gt;Title Goes here&amp;lt;/h2&amp;gt;
      &amp;lt;calcite-shell-panel slot="panel-start" resizable detached="false"&amp;gt;
        &amp;lt;calcite-panel heading="Side Panel Heading"&amp;gt;
          &amp;lt;calcite-action icon="reset" text-enabled text="Reset" slot="header-menu-actions"&amp;gt;&amp;lt;/calcite-action&amp;gt;
        &amp;lt;/calcite-panel&amp;gt;
      &amp;lt;/calcite-shell-panel&amp;gt;
      &amp;lt;div slot="center-row" id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;
    &amp;lt;/calcite-shell&amp;gt;
  &amp;lt;/body&amp;gt;
 
 &amp;lt;script&amp;gt;
    require([
      "esri/Map",
      "esri/views/MapView",
      "esri/widgets/Search",
      "esri/widgets/Home",
      "esri/widgets/BasemapGallery",
      "esri/widgets/Expand",
    ], function(
      Map, 
      MapView, 
      Search, 
      Home, 
      BasemapGallery, 
      Expand
      ) {


  // Create the Map
  var map = new Map({
      basemap: "topo-vector"
  })

  // Create the MapView
  var view = new MapView({
      container: "viewDiv",
      map: map,
      center: [-122.200, 47.295],
      zoom: 13
  });

  //Search Widget
  const searchWidget = new Search({
      view: view
  });
  view.ui.add(searchWidget, {
      position: "top-left",
      index: 0
  });
  //

  // Home button
  var homeBtn = new Home({
      view: view
  });
  view.ui.add(homeBtn, "top-left");
  //

    //basmap gallery
    var basemapGallery = new BasemapGallery({
      view: view,
      container: document.createElement("div")
  });

  var bgExpand = new Expand({
      view: view,
      content: basemapGallery
  });

  basemapGallery.watch("activeBasemap", function() {
      var mobileSize = view.heightBreakpoint === "xsmall" || view.widthBreakpoint === "xsmall";

      if (mobileSize) {
          bgExpand.collapse();
      }
  });

  view.ui.add(bgExpand, "bottom-right");
  //

  //Hide Loader and show map once map is loaded.
  view.when(function() {
    document.querySelector("calcite-loader").hidden = true;
  });

    });

  &amp;lt;/script&amp;gt;
&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 06:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1247507#M79862</guid>
      <dc:creator>dcarson1661</dc:creator>
      <dc:date>2023-01-12T06:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: calcite-shell-panel resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1247622#M79870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/482854"&gt;@dcarson1661&lt;/a&gt;&amp;nbsp;, I think all you need to add is a position property to your calcite-shell-panel.&amp;nbsp;&lt;A href="https://codepen.io/sagewall/pen/YzjVgEM" target="_blank"&gt;https://codepen.io/sagewall/pen/YzjVgEM&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;calcite-shell-panel slot="panel-start" position="start" resizable &amp;gt;&amp;lt;/calcite-shell-panel&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 14:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1247622#M79870</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-01-12T14:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: calcite-shell-panel resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1247623#M79871</link>
      <description>&lt;P&gt;That was it, Thank You!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 14:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1247623#M79871</guid>
      <dc:creator>dcarson1661</dc:creator>
      <dc:date>2023-01-12T14:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: calcite-shell-panel resize</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1524138#M85413</link>
      <description>&lt;P&gt;Hello. I don't seem to make the resizable property work with shell-panel slot="panel-bottom" regardless of the displayMode value.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 00:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calcite-shell-panel-resize/m-p/1524138#M85413</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2024-08-20T00:06:01Z</dc:date>
    </item>
  </channel>
</rss>

