Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

scrollview webview trigger

this is actually an answer to this question but it was already closed…

where the second, third, etc webviews in a scrollable-view setup did not display their contents until clicked on.

scrollView.addEventListener('scroll', function(e){
    e.view.evalJS('window.scrollBy(0,1);');    //repaint the webview

this causes the webview that was just scrolled to, to scroll down just a bit, which causes it to redraw properly… don't know why it should be needed, but it worked for me anyway…

— asked June 9th 2010 by david hoare
  • scrollableview
  • webview

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.