[Resolved] tableView scrollToY() broken in daily build (935)

I already reported it as a bug, but in case someone is having problems with scrollToY with tableView, it’s broken in the latest daily build (I think).

You can test it by running the code on this page:
http://docs.coronalabs.com/api/type/TableViewWidget/scrollToY.html

It’ll throw an error concerning a nil variable called topPadding.

If you’re running into that problem, it’s not your code. :slight_smile: Either skip calling scrollToY right now or roll back to a previous version of the SDK.

Jay
[import]uid: 9440 topic_id: 32038 reply_id: 332038[/import]

Can you give me the case number Jay?

I have just fixed this issue and will have the fix available in one of the upcoming daily builds.
Thanks for letting us know about it! [import]uid: 84637 topic_id: 32038 reply_id: 127695[/import]

Actually you can go into your options for your widget.newTableView() call and specify a topPadding of 0 and it will work around the error, i.e.

myList = widget.newTableView({  
 width = 244,  
 height = 300,  
 topPadding = 0,  
 maskFile = "images/mask-244x300.png"  
})  

[import]uid: 19626 topic_id: 32038 reply_id: 127709[/import]

Danny, Case 18128. Thanks for fixing it so quickly.

Rob, thanks for the workaround. :slight_smile:

Jay
[import]uid: 9440 topic_id: 32038 reply_id: 127782[/import]

Can you give me the case number Jay?

I have just fixed this issue and will have the fix available in one of the upcoming daily builds.
Thanks for letting us know about it! [import]uid: 84637 topic_id: 32038 reply_id: 127695[/import]

Actually you can go into your options for your widget.newTableView() call and specify a topPadding of 0 and it will work around the error, i.e.

myList = widget.newTableView({  
 width = 244,  
 height = 300,  
 topPadding = 0,  
 maskFile = "images/mask-244x300.png"  
})  

[import]uid: 19626 topic_id: 32038 reply_id: 127709[/import]

Danny, Case 18128. Thanks for fixing it so quickly.

Rob, thanks for the workaround. :slight_smile:

Jay
[import]uid: 9440 topic_id: 32038 reply_id: 127782[/import]

This issue has been fixed in daily build 936.
Thanks again for letting us know [import]uid: 84637 topic_id: 32038 reply_id: 128273[/import]

This issue has been fixed in daily build 936.
Thanks again for letting us know [import]uid: 84637 topic_id: 32038 reply_id: 128273[/import]