**** BEGIN LOGGING AT Wed Sep 17 02:59:58 2014 Sep 17 08:43:25 hm.. I dynamically construct horizontal scrollers inside a vertical scroller... what can I do to make the vertical scroller scroll, if I scroll up/down in the horizontal one? fiddle here: http://jsfiddle.net/Garfonso/ur6zx19e/ Sep 17 08:43:58 if I declare the scroller in the components block, then I can make it work... but I need to create it dynamically. :-/ Sep 17 15:04:37 morning chall Sep 17 15:04:57 How goes that project w/ tight deadlines? Sep 17 15:05:01 morning GodGinrai Sep 17 15:05:04 it goes Sep 17 15:17:00 wb ArTiSTiX Sep 17 15:23:33 morning Sep 17 15:23:45 I dynamically construct horizontal scrollers inside a vertical scroller... what can I do to make the vertical scroller scroll, if I scroll up/down in the horizontal one? fiddle here: http://jsfiddle.net/Garfonso/ur6zx19e/ Sep 17 15:23:45 morning Garfonso Sep 17 15:23:54 if I declare the scroller in the components block, then I can make it work... but I need to create it dynamically. :-/ Sep 17 15:31:04 Garfonso: Once I figure out how to make this fiddle the correct sizes so that not everything is displayed on the screen, (thus making it impossible to scroll) I'll let you know Sep 17 15:31:52 your screen is much bigger? ;) Sep 17 15:31:53 also, Garfonso, that's not the correct way to dynamically generate components Sep 17 15:32:02 my sreen is 1920px tall Sep 17 15:32:14 maybe that's the issue already. How to correctly do it? Sep 17 15:32:40 use createComponent. Sep 17 15:36:26 Garfonso: I updated your code to use createComponent: http://jsfiddle.net/ur6zx19e/5/ Sep 17 15:39:50 will that also work if the target node is not enyo created? Sep 17 15:41:01 Yes. createComponent merely creates a component in the components block of the component you call it from. (In this case horizontalScrollerGoesHere) Sep 17 15:41:13 It won't try to render it until you tell it to render Sep 17 15:42:06 And by calling this.render() instead of trying to render the new component, that will ensure that the node gets created Sep 17 15:42:37 hm.. yeah. But my issue is in my target application "horizontalScrollerGoesHere" is not necessarily a node I create with enyo, but might also be a simple DOM node. Sep 17 15:43:08 Hrmm, can you elaborate? Sep 17 15:44:16 I'll try to edit the fiddle into something.. Sep 17 15:44:20 k Sep 17 15:56:32 http://jsfiddle.net/ur6zx19e/6/ that's more like what I am doing... Sep 17 15:56:52 the background is that the HTML I display in a node is downloaded from a service (getpocket.com). Sep 17 15:58:00 I browse through all the child nodes of this last enyo node and check if any of those are to wide (most are not) and want to wrap them in a scroller. Sep 17 15:58:11 is it possible at all? ;) Sep 17 16:01:27 sounds possible, and I can see why you were saying you could not use createComponent Sep 17 16:01:40 What exactly is this service for? Sep 17 16:02:44 getpocket was called read it later once, it is like instapaper or something a service that lets you keep a list of news articles (or better: web pages) you want to read later and also offers a stripped down view of those pages and an api for mobile clients. Sep 17 16:05:57 so you get arbitrary HTML.. most of it is p-tags and some images... but some stuff, like tables and code snipets in pre-tags tend to be to wide to display nicely in my article view. Sep 17 16:07:16 Garfonso: is there any common separator between the different articles? Sep 17 16:08:12 no, you got me wrong, what I am doing here is display one article at a time. Sep 17 16:08:30 the list is done differently and very enyo-ish. :) Sep 17 16:08:43 ah Sep 17 16:09:16 so then... why go through all the trouble of parsing the HTML when you can put the whole thing in a scroller? Sep 17 16:09:42 you can just make the outer scroller scroll both directions Sep 17 16:09:47 I didn't like it when the whole thing was scrolling vertically. Sep 17 16:10:00 you usually have plenty of text and images that arrange nicely Sep 17 16:11:22 the version with the vertical scrollers actually looks pretty nice and vertical scrolling works just fine. Only issue is that it breaks a bit horizontal scrolling. :( Sep 17 16:12:03 hrm? Sep 17 16:23:52 hm. just tried again with allowing outer scroller to scroll vertically. That is just not what I want. :-/ Sep 17 16:25:03 On my test articles you get a nice aligned text, but can scroll that out of your view, just because a few lines of code in between the text are too long. It is much nicer if you just scroll the code vertically and everything else stays fixed vertically. Sep 17 16:32:20 ok, lol.. Now I understood what you were telling me and it is working. :) Thanks. Sep 17 16:56:00 :D Sep 17 16:56:01 yw Sep 17 16:58:39 morning enyos Sep 17 16:59:20 good morning dmanderson Sep 17 18:01:09 Howdy, howdy folks. Sep 17 18:10:47 Hey Roy__! Sep 17 18:12:26 hey Roy Sep 17 18:41:47 wb **** ENDING LOGGING AT Thu Sep 18 03:00:00 2014