Element.getLocation is incorrect

div swipeup to screen, try to find the element in that div and click it, but fail,
element.getLocation is [34,2350],the screen size is 1080*1920,how can i get the new location of the element. actually,it‘s new location is [34,400]

I’ve been seeing this lately as well in a WebView. Occasionally the location is correct, other times it isn’t.

Appium: 1.6.3
Appium Java Client: 5.0.0-BETA4
Selenium 3.1.0