<?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 V4.20 - SketchViewModel - EnableScaling = false Still Allows Scaling in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1086116#M74162</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Background&lt;/STRONG&gt;&lt;BR /&gt;Hello, I'm running into trouble with SketchViewModel.defaultUpdateOptions.enableScaling set to false... still enables the user to scale the graphic. I've created a sample codepen based off the Sketch Widget example (same behavior for SketchViewModel though), with enableSketching set to off:&lt;/P&gt;&lt;P&gt;&lt;A title="CodePen Sample - Based Off SketchWidget" href="https://codepen.io/gisdeveloperwithproblems/pen/OJmoeYW?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/gisdeveloperwithproblems/pen/OJmoeYW?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've attached a clip below that shows that while the resize handlers are not visible... that are apparently still active and can definitely be used.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-08-05_08-35-16.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20237i4396071D94763763/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2021-08-05_08-35-16.gif" alt="2021-08-05_08-35-16.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions&lt;BR /&gt;&lt;/STRONG&gt;Is there parameters I'm missing or is this considered a bug? If a bug, are there any workarounds? I could cancel on the update event for scale-start.... but that's not ideal as it deselects the graphic and still has the cursor changes even though they don't work. Furthermore, on smaller graphics, it becomes impossible to move them without scaling (which would then cancel, making the app appear to be buggy/unstable).&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 12:53:23 GMT</pubDate>
    <dc:creator>AaronFortener</dc:creator>
    <dc:date>2021-08-05T12:53:23Z</dc:date>
    <item>
      <title>V4.20 - SketchViewModel - EnableScaling = false Still Allows Scaling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1086116#M74162</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Background&lt;/STRONG&gt;&lt;BR /&gt;Hello, I'm running into trouble with SketchViewModel.defaultUpdateOptions.enableScaling set to false... still enables the user to scale the graphic. I've created a sample codepen based off the Sketch Widget example (same behavior for SketchViewModel though), with enableSketching set to off:&lt;/P&gt;&lt;P&gt;&lt;A title="CodePen Sample - Based Off SketchWidget" href="https://codepen.io/gisdeveloperwithproblems/pen/OJmoeYW?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/gisdeveloperwithproblems/pen/OJmoeYW?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've attached a clip below that shows that while the resize handlers are not visible... that are apparently still active and can definitely be used.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-08-05_08-35-16.gif" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20237i4396071D94763763/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2021-08-05_08-35-16.gif" alt="2021-08-05_08-35-16.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions&lt;BR /&gt;&lt;/STRONG&gt;Is there parameters I'm missing or is this considered a bug? If a bug, are there any workarounds? I could cancel on the update event for scale-start.... but that's not ideal as it deselects the graphic and still has the cursor changes even though they don't work. Furthermore, on smaller graphics, it becomes impossible to move them without scaling (which would then cancel, making the app appear to be buggy/unstable).&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 12:53:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1086116#M74162</guid>
      <dc:creator>AaronFortener</dc:creator>
      <dc:date>2021-08-05T12:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: V4.20 - SketchViewModel - EnableScaling = false Still Allows Scaling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1086394#M74170</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/27487"&gt;@AaronFortener&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for bringing up this issue. This appears to be a regression in 4.18, as it works in version 4.17. This issue was fixed in 3D, but looks like we missed this for 2D. We will look into getting this fixed soon.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 22:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1086394#M74170</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-08-05T22:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: V4.20 - SketchViewModel - EnableScaling = false Still Allows Scaling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1089723#M74310</link>
      <description>&lt;P&gt;Do you have any kind of estimated timeline for when we could see this fix published?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 19:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1089723#M74310</guid>
      <dc:creator>AaronFortener</dc:creator>
      <dc:date>2021-08-17T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: V4.20 - SketchViewModel - EnableScaling = false Still Allows Scaling</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1089772#M74316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/27487"&gt;@AaronFortener&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This bug has been fixed for version 4.21. Thanks again for bringing this to our attention.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 21:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/v4-20-sketchviewmodel-enablescaling-false-still/m-p/1089772#M74316</guid>
      <dc:creator>JoseBanuelos</dc:creator>
      <dc:date>2021-08-17T21:15:16Z</dc:date>
    </item>
  </channel>
</rss>

