[TIMOB-13967] BlackBerry : Layout crashes if we touch the views before it finishes laying out the whole layout
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Critical | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2013-05-24T21:06:26.000+0000 | 
| Affected Version/s | Release 3.1.1, Release 3.2.0 | 
| Fix Version/s | 2013 Sprint 11 BB, 2013 Sprint 11, Release 3.1.1, Release 3.2.0 | 
| Components | BlackBerry | 
| Labels | blackberry, qe-testadded, sdk-bb | 
| Reporter | Lokesh Choudhary | 
| Assignee | Josh Roesslein | 
| Created | 2013-05-23T19:01:45.000+0000 | 
| Updated | 2013-09-26T10:48:50.000+0000 | 
Description
	Description:
1. Create an app for BB with the code below:
var win = Titanium.UI.createWindow();
  
var scroll = Ti.UI.createScrollView({
    backgroundColor: '#ccc',
    width: Ti.UI.FILL,
    height: Ti.UI.FILL,
    layout: 'vertical',
      
});
  
function MyButton(title) {
    return Ti.UI.createButton({
        title: title,
        top: 10
    });
}
  
for(var i = 0; i < 100; i++) {
    scroll.add(MyButton('Button #' + (i + 1))); 
}
  
win.add(scroll);
win.open();
Created pull request [#56](https://github.com/appcelerator/titanium_mobile_blackberry/pull/56) for master.
Verified the fix and the scroll view does not lockup when touched before it finishes rendering the controls. Environment: Ti Studio : 3.1.1.201305150313 Ti BB SDK : 3.1.1.v20130524180421 Mac OSX : 10.8.2 win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138