<?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: Disable Apple mouse/trackpad scrolling in 4.0? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-apple-mouse-trackpad-scrolling-in-4-0/m-p/451268#M41688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't have a proper API for gestures at the moment but you can intercept and stop the event like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;view.surface.addEventListener("wheel", function(event) { 
&amp;nbsp; event.stopImmediatePropagation();
}, true);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:08:27 GMT</pubDate>
    <dc:creator>YannCabon</dc:creator>
    <dc:date>2021-12-11T20:08:27Z</dc:date>
    <item>
      <title>Disable Apple mouse/trackpad scrolling in 4.0?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-apple-mouse-trackpad-scrolling-in-4-0/m-p/451267#M41687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm working on a pretty nifty project using the ArcGIS API, and am having a quite a bit of success so far. Awesome stuff!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My need is to disable Apple mouse/trackpad scrolling. Some users are reporting when they scroll over the map, it zooms very quickly and would prefer to disable it. I'm using ArcGIS 4.0 on a 2D map. I saw some API things for the 3.x versions that disable smartNavigation and things, but that is not working in 4.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips on how I can disable all apple mouse trackpad and scrolling in 4.0? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 23:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-apple-mouse-trackpad-scrolling-in-4-0/m-p/451267#M41687</guid>
      <dc:creator>JonCrane</dc:creator>
      <dc:date>2016-06-01T23:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Apple mouse/trackpad scrolling in 4.0?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-apple-mouse-trackpad-scrolling-in-4-0/m-p/451268#M41688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't have a proper API for gestures at the moment but you can intercept and stop the event like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;view.surface.addEventListener("wheel", function(event) { 
&amp;nbsp; event.stopImmediatePropagation();
}, true);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-apple-mouse-trackpad-scrolling-in-4-0/m-p/451268#M41688</guid>
      <dc:creator>YannCabon</dc:creator>
      <dc:date>2021-12-11T20:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Apple mouse/trackpad scrolling in 4.0?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-apple-mouse-trackpad-scrolling-in-4-0/m-p/451269#M41689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beautiful. Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 18:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-apple-mouse-trackpad-scrolling-in-4-0/m-p/451269#M41689</guid>
      <dc:creator>JonCrane</dc:creator>
      <dc:date>2016-06-03T18:22:40Z</dc:date>
    </item>
  </channel>
</rss>

