Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2958 closed defect (fixed)

dojo.connect of onkeypress prevents IE printable characters

Reported by: Douglas Hays Owned by: sjmiles
Priority: blocker Milestone:
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


If anyone calls dojo.connect(node,"onkeypress",blahblah) then all is well with Firefox. But now no printable character can be typed on IE 6 or 7. Nonprintable keys fire keypress events OK. This is preventing autocompleter from being tested on IE on 0.9M2.

Recreate test file:





<script type="text/javascript" src="dojo/dojo.js"

djConfig="isDebug: true">




<input id="someNode" value="some value">


var someNode = document.getElementById('someNode'); dojo.connect(someNode, "onkeypress", this, function(evt){});


</body> </html>

Change History (3)

comment:1 Changed 15 years ago by sjmiles

(In [8467]) On Mozilla, printable chars have a 0 keyCode, trying to simulate that on IE clobbers regular key handling. Refs #2958.

comment:2 Changed 15 years ago by sjmiles

Resolution: fixed
Status: newclosed

comment:3 Changed 15 years ago by (none)

Milestone: 0.9M2

Milestone 0.9M2 deleted

Note: See TracTickets for help on using tickets.