I am sequencing a ScrollViewContainer
with some views I created. The views each have a surface but when I do this the ScrollViewContainer
wont scroll anymore. When I use a list of surfaces to sequenceFrom([Surface, Surface, Surface])
the ScrollViewContainer works fine but when I use a list of Views sequenceFrom([MyView, MyView, MyView])
it wont scroll.
Asked
Active
Viewed 53 times
0

Subtubes
- 15,851
- 22
- 70
- 105
1 Answers
1
More than likely your View
will need a renderable that will pipe to the View
like a Surface.
In this case you would pipe the Surface
events to the View
output event handler from within your View
.
See line 62 of this example on jsBin.
surface.pipe(view._eventOutput);

talves
- 13,993
- 5
- 40
- 63
-
since i was in the view I used "this" i.e. surface.pipe(this._eventOutput); – Subtubes Nov 24 '14 at 18:55
-
1Yes, you are right to pipe it to the scope of your view. – talves Nov 24 '14 at 18:58