#2115 closed defect (wontfix)
sometimes holding down the spinner button doesn't work
Reported by: | bill | Owned by: | Sam Foster |
---|---|---|---|
Priority: | lowest | Milestone: | 0.9 |
Component: | Dijit - Form | Version: | 0.4 |
Keywords: | Cc: | Douglas Hays, bill | |
Blocked By: | Blocking: |
Description
In http://archive.dojotoolkit.org/nightly/tests/widget/test_Spinner.html (on IE) I press the down arrow twice, and then quickly hold down the down arrow.
- click
- click
- hold down
Holding down the arrow has no effect; the <input> doesn't change value typematically.
It turns out to be that (2) and (3) are interpreted as a double-click (I think). The problem only happense when (2) and (3) happen close together. Not sure if this is possible to fix but I guess it would be nice.
Change History (7)
comment:1 Changed 14 years ago by
Milestone: | → 0.9 |
---|
comment:2 Changed 14 years ago by
Priority: | normal → lowest |
---|
comment:3 Changed 14 years ago by
Component: | Widgets → Dijit |
---|
comment:4 Changed 14 years ago by
Owner: | changed from Douglas Hays to Sam Foster |
---|
comment:5 Changed 13 years ago by
Cc: | Douglas Hays bill added |
---|
Yeah, its trying to fire a dblclick event. If you try this in firebug(lite) in IE, on the test_Spinner.html page:
dojo.connect(dijit.byId("integerspinner1").downArrowNode, "onmousedown", function(evt) { console.log("mousedown on down arrow") });
dojo.connect(dijit.byId("integerspinner1").downArrowNode, "ondblclick", function(evt) { console.log("dblclick on down arrow") });
You see a click followed shortly by a click-and-hold yields one mousedown event, no typematic value change, and when you release (mouseup) you see "dblclick on down arrow". I'm not sure there's a (not totally hacky) way around this - the event simply isnt fired. Maybe someone else has ideas?
comment:6 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
OK, looks like this is too hard to fix. Marking as wontfix for now.
comment:7 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
I researched this and there doesn't appear to be any workaround. IE always eats the mousedown that occurs very soon after a mouseup, so there's no event to trigger the typematic sequence. I lowered the priority to reflect no activity is expected on this trac ticket in the near future, but the severity remains as normal.