#12074 closed bug (invalid)
scroll Event not working with .on()
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello,
The scroll event does not work when attached using the .on() with latest jQuery 1.7.2.
Here is a jsFiddle: http://jsfiddle.net/jtassi/q5cQv/1/
But it works when attached using .bind(), here is a working jsFiddle: http://jsfiddle.net/jtassi/q5cQv/2/
Change History (2)
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Also... this seems to work fine for me: http://jsfiddle.net/rwaldron/5pyFh/
Note: See
TracTickets for help on using
tickets.
Scroll events only bubble from document to window, all other scroll events do not bubble.
http://www.w3.org/TR/DOM-Level-3-Events/#event-type-scroll