PDA

View Full Version : List does not clear scrolling on reload



m@uce
13 Apr 2011, 11:01 AM
Sencha Touch version tested:

1.0.1
1.1.0





Platform tested against:

iOS 4
Android 2.1
Android 2.2
Chrome


Description:

After scrolling a list loaded via script tag proxy, calling load on the list again will not reset the scrolling and make the newly loaded list data impossible to see or scroll to. Clearing the transformation style elements on the list div after the load fixes the problem.


Test Case:


See this URL : http://25score.wirelesswerx.com/Client/android.htm


Steps to reproduce the problem:

choose the search tab
enter 'fast'
wait for list to load
scroll the list down a few pages
enter 'mex'
wait for list to finish loading and bug to manifest itself


The result that was expected:

list should display the new data


The result that occurs instead:

The new data is loaded into the DOM, but it is not displayed due to residual style attributes from the scrolled location of the previous data.


Screenshot or Video:

none


Debugging already done:

Removed transformation style from list div after load(via browser debugger) causes the list data to appear, though group title remains incorrect until once again scrolled.fixes grouping title


Possible fix:

not provided