The first scroll event only works for an overflow item: scroll / auto. In your case, this is # region-content, not #container.
But fixing a selector for events will not work, because Backbone uses Jquery.delegate () to attach its events. But the delegate cannot trigger scroll events.
I am afraid that you will have to attach the event manually after rendering the dom with
$("#region-content").scroll () -> console.log "ok"
You can use live () to attach events.
Alternatively, you can scroll #content and scroll it. This will work since Backbone will not use the delegate, but it will bind the event directly to the #content node.
source share