i have several uiwebviews with a considerable amount of text. when making a window.scrollto (as well as a window.scroll) javascript call to the webviews, they scroll to an incorrect location. e.g. i want to scroll to 12000 but the webview will scroll to 10149 every time instead. while another one will scroll to 10250. yet another one, which i want to scroll to 22000 or so will scroll to 20230 every time instead.
this only happens on the device and not in the simulator.
i am making the call in webViewDidFinishLoad.
i have tried making the call multiple times with no better results. it seems that whatever value the particular webview scrolls to is the farthest it can go when using the scrollto call. there is no problem when giving it a lesser value to scroll to. it's just if you pass that magic number, whatever it is for that webview, it will go no further.
any input would be much appreciated