enyojs/layout — pull request #67 by fxspec06 (2012-08-20 04:56:09+00:00)
Title: ENYO-890 Fix for PulldownList flyweight

I've come to the conclusion that for PulldownList.js, having onScroll in handlers is not the right way, because it overrides not only the list.js scroll() function but also the Scroller.js's onScroll handler.

The fix is to get rid of onScroll in the PulldownList.js handlers and to change 'scrollHandler' function to simply 'scroll' and add the accompanying 'inEvent' argument. In addition, add the two lines 'var r = this.inherited(arguments);' and 'return r;' to the top and bottom of the PulldownList.js scroll() function respectively.

The result is that both the scroll in scroller.js updates along with scroll in list.js, and also the update function in list.js updates accordingly, thereby rendering list items properly.

The issue is filed here: https://enyojs.atlassian.net/browse/ENYO-890