title: Scroll element into view not working on iOS using appium
body: <p>I am trying to scroll to view an element in <code>iOS</code> using <code>Appium desktop 1.13</code> and <code>java_client 7.0.0</code> with <code>iOS 13.1.3</code> but it returns an error: </p>
  
  <blockquote>
    <p>Error Domain = com.facebook.WebDriverAgent Code=1 "Failed to find
    scrollable visible parent with 2 visible children"</p>
  </blockquote>
  
  <p>I already tried to use <code>element ID</code> and Xpath but both are not working. For Xpath it is not returning an error but it does not do the scrolling action.</p>
  
  <pre><code>String elementID = ((RemoteWebElement) element).getId();
  JavascriptExecutor js = (JavascriptExecutor) driver;
  HashMap&lt;String, String&gt; scrollObject = new HashMap&lt;String, String&gt;();
  scrollObject.put("element", elementID);
  scrollObject.put("toVisible", "not an empty string");
  js.executeScript("mobile: scroll", scrollObject);
  </code></pre>
  
  <p>The expected result is the screen will be scrolled to the element specified but what happens is when I used Xpath it is not scrolling without any error and when I used <code>elementID</code> it returns an error</p>