I\'m trying to capture the scroll event within a Backbone.Marionette.CompositeView, but without success.
As an exercise, I\'m rewriting http://www.atinux.fr/backbone
I don't know what your el is, but I suspect it's something that does not receive the scroll event. Since Backbone delegates event handling to jQuery, have a look at what jQuery says about the scroll event:
The
scrollevent is sent to an element when the user scrolls to a different place in the element. It applies towindowobjects, but also to scrollable frames and elements with theoverflowCSS property set to scroll (orautowhen the element's explicit height or width is less than the height or width of its contents).
Unless your el satisfies those conditions, it will not receive the scroll event. You will have to put the event handler on window or some other element that does receive it.