<?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: Sketch Widget's toolbarKind set to 'floating', but showing as docked in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-s-toolbarkind-set-to-floating-but/m-p/1616954#M87191</link>
    <description>&lt;P&gt;I don't work with Angular, but Sketch widget in "floating" mode can still be squeezed if it's parent has limited width. "floating" mode also adds a drop shadow around the widget (see the screenshot). Is it visible in your case?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Edvinas_S_0-1747835309640.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132776i9DBB1B7D9F505546/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Edvinas_S_0-1747835309640.png" alt="Edvinas_S_0-1747835309640.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 May 2025 13:48:56 GMT</pubDate>
    <dc:creator>Edvinas_S</dc:creator>
    <dc:date>2025-05-21T13:48:56Z</dc:date>
    <item>
      <title>Sketch Widget's toolbarKind set to 'floating', but showing as docked</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-s-toolbarkind-set-to-floating-but/m-p/1615446#M87166</link>
      <description>&lt;P&gt;We've got an angular project that uses the JS SDK for ESRI. We recently updated it and now our Sketch widget is defaulting to the 'docked' behavior (the ellipsis that you have to click on to see the button options, this site isn't letting me send a screenshot of it).&lt;/P&gt;&lt;P&gt;I'm not sure if it's possible to provide a minimum sample of this on codepen. It seems to be ignoring the imports for the ESRI dependencies.&lt;/P&gt;&lt;P&gt;This is despite the correct setting being used for 'toolbarKind' as shown below.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;this.sketch = new Sketch({
        view: this.view,
        // something is causing the Sketch to exhibit the 'docked' behavior, even when toolbarKind is set to 'floating'.
        toolbarKind: 'floating',
        layer: this.sketchGraphicsLayer,
        availableCreateTools: ['point', 'polyline', 'polygon', 'circle'],
        visibleElements: { duplicateButton: false,
          selectionTools: {"lasso-selection": false, "rectangle-selection": false },
          settingsMenu: false,
          undoRedoMenu: false },
      });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the relevant version numbers from my package.json:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;"@arcgis/core": "^4.32.10",
"@arcgis/map-components": "^4.32.10",
"@esri/calcite-components": "^3.1.0"&lt;/LI-CODE&gt;&lt;P&gt;Our customers don't want to have to click on the ellipsis in order to see the sketches.&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 13:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-s-toolbarkind-set-to-floating-but/m-p/1615446#M87166</guid>
      <dc:creator>jssdkuser</dc:creator>
      <dc:date>2025-05-16T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch Widget's toolbarKind set to 'floating', but showing as docked</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-s-toolbarkind-set-to-floating-but/m-p/1616954#M87191</link>
      <description>&lt;P&gt;I don't work with Angular, but Sketch widget in "floating" mode can still be squeezed if it's parent has limited width. "floating" mode also adds a drop shadow around the widget (see the screenshot). Is it visible in your case?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Edvinas_S_0-1747835309640.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132776i9DBB1B7D9F505546/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Edvinas_S_0-1747835309640.png" alt="Edvinas_S_0-1747835309640.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 13:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-s-toolbarkind-set-to-floating-but/m-p/1616954#M87191</guid>
      <dc:creator>Edvinas_S</dc:creator>
      <dc:date>2025-05-21T13:48:56Z</dc:date>
    </item>
  </channel>
</rss>

