Financial-Times / ftdomdelegate

Create and manage a DOM event delegator
MIT License
320 stars 36 forks source link

Can't listen to window.scroll #31

Closed wheresrhys closed 10 years ago

wheresrhys commented 10 years ago

I have

var del = new Delegate(window);
del.on('scroll', null , function () {}); // fails
del.on('scroll', document , function () {}); // succeeds
del.on('resize', null , function () {}); // succeeds

I'm not sure what I think should be done about this (if anything), but it's not nice behaviour

matthew-andrews commented 10 years ago

Duplicate of #32