<?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 Android and iOS keyboard slides down when Track updates using goToOverride in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/android-and-ios-keyboard-slides-down-when-track/m-p/1128612#M75671</link>
    <description>&lt;P&gt;My Track implementation has the gotoOverride set to a function. I need this because I want to keep the zoom level the same as the view. Without&amp;nbsp;gotoOverride set to a function that changes the zoom, Track will always zoom deep to the position you are at.&lt;/P&gt;&lt;P&gt;I have some HTML INPUT fields, where I want to enter data.&lt;/P&gt;&lt;P&gt;If Track is running, and I want to enter data in the INPUT field (keyboard is up), the keyboard on iOS and Android slides down when Track function provides a new coordinate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I remove this line out of my code: &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;return view.goTo(options.target); , the keyboard stays on the screen but, logically, I miss the 'not zoom' function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can this be solved?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var track = new Track({
	view: view,
    goToOverride: function(view, options) {
        options.target.scale = view.scale;
        return view.goTo(options.target);
    },
	geolocationOptions: {
		maximumAge: 0,
		timeout: 15000,
		enableHighAccuracy: true
  	},
	graphic: new Graphic({
	  symbol: {
	    type: "simple-marker",
	    path: "M 14 -22 L 23.5 0 L 14 -5 L 5.5 0 z", 
	    color: "#005e96",
	    outline: {
	      color: "#AAAAAA",
	      width: 0.75
	    },
	    size: 15
	  },
	}),
	useHeadingEnabled: false  // Don't change orientation of the map
});
view.ui.add(track, "top-left");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Thu, 23 Dec 2021 13:56:29 GMT</pubDate>
    <dc:creator>PHerk</dc:creator>
    <dc:date>2021-12-23T13:56:29Z</dc:date>
    <item>
      <title>Android and iOS keyboard slides down when Track updates using goToOverride</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/android-and-ios-keyboard-slides-down-when-track/m-p/1128612#M75671</link>
      <description>&lt;P&gt;My Track implementation has the gotoOverride set to a function. I need this because I want to keep the zoom level the same as the view. Without&amp;nbsp;gotoOverride set to a function that changes the zoom, Track will always zoom deep to the position you are at.&lt;/P&gt;&lt;P&gt;I have some HTML INPUT fields, where I want to enter data.&lt;/P&gt;&lt;P&gt;If Track is running, and I want to enter data in the INPUT field (keyboard is up), the keyboard on iOS and Android slides down when Track function provides a new coordinate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I remove this line out of my code: &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;return view.goTo(options.target); , the keyboard stays on the screen but, logically, I miss the 'not zoom' function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can this be solved?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var track = new Track({
	view: view,
    goToOverride: function(view, options) {
        options.target.scale = view.scale;
        return view.goTo(options.target);
    },
	geolocationOptions: {
		maximumAge: 0,
		timeout: 15000,
		enableHighAccuracy: true
  	},
	graphic: new Graphic({
	  symbol: {
	    type: "simple-marker",
	    path: "M 14 -22 L 23.5 0 L 14 -5 L 5.5 0 z", 
	    color: "#005e96",
	    outline: {
	      color: "#AAAAAA",
	      width: 0.75
	    },
	    size: 15
	  },
	}),
	useHeadingEnabled: false  // Don't change orientation of the map
});
view.ui.add(track, "top-left");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Dec 2021 13:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/android-and-ios-keyboard-slides-down-when-track/m-p/1128612#M75671</guid>
      <dc:creator>PHerk</dc:creator>
      <dc:date>2021-12-23T13:56:29Z</dc:date>
    </item>
  </channel>
</rss>

