Closed paddycarver closed 13 years ago
Yeah, I would love this. I suspect it might come in an Enyo update, but we may be able to find a workaround sooner.
If we do it ourselves, we may want to examine https://github.com/cubiq/iscroll and determine exactly how they achieve this, and/or suggest the Enyo team do the same.
Investigation lead to easily using jQuery and binding a "mousewheel" event (it's definitely doing some cross-browser refining in the background). As to whether Enyo propagates this event, etc, I have no clue as of yet.
I actually got mousescroll working. Here's the problem: it doesn't trigger either the top ceiling of the column, or rendering elements outside of the current viewport. So you can scroll up past the apparent top of the column, and you can't see anything much beyond the currently rendered rows. Presumably this is because it's actually drag and flick gestures which drive the list.
I think we need to ask the Enyo folks themselves about this.
Ed Finkler http://funkatron.com @funkatron AIM: funka7ron / ICQ: 3922133 / XMPP:funkatron@gmail.com
On Tuesday, May 17, 2011 at 1:18 AM, dcousineau wrote:
If we do it ourselves, we may want to examine https://github.com/cubiq/iscroll and determine how they achieve this. And/or pass this down the aisle to the Enyo team.
Reply to this email directly or view it on GitHub: https://github.com/funkatron/Spaz-Enyo/issues/51#comment_1187854
Well technically we got this a long while back
It would be pretty awesome if we could get the mouse scroll events to scroll columns.