Opened 7 years ago
Last modified 5 years ago
#17790 new defect
Element resize event binding not working in IE 9 and 10 using dojo/on
Reported by: | rwadkins | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.15 |
Component: | Events | Version: | 1.9.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Internet Explorer less than 11 (and probably greater than 5) support listening to a resize event on dom elements other than the window object. I was implementing a workaround for browsers that don't support this, when I ran into an issue with dojo/on.
The ability to bind to the resize event to a non-window object is tied to the attachEvent method. It won't work with addEventListener. dojo/on will only use addEventListener if it's available, and I couldn't find a way to tell it not to.
I ended up having to call attachEvent specifically if has("ie") was true. But I would have preferred to have kept everything using dojo/on.
Change History (2)
comment:1 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|
comment:2 Changed 5 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
Will investigate for Dojo 1.12.