Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#7754 closed defect (worksforme)

dijit.form._FormWidget._onFocus interferes with button clicks in IE

Reported by: mcbenton Owned by:
Priority: high Milestone: tbd
Component: Dijit - Form Version: 1.2beta
Keywords: Cc:
Blocked By: Blocking:


<button dojoType="dijit.form.Button" type="button">Click Me</button>

Using rev 15345, in IE (6 and 7) the dijit.scrollIntoView() that gets called in _onFocus() seems to prevent the "onclick" action from being fired. You have to click twice, once to focus the dijit, and another time to trigger onclick.

Temporary solution was just to comment out the scrollIntoView line (line 94) from dijit.form._FormWidget.js

Attachments (1)

test_Button.html (1.0 KB) - added by bill 13 years ago.
works for me

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by bill

Can you provide a test case? It's working for me on IE6 w/the latest code and I'm attaching my trivial test case.

Changed 13 years ago by bill

Attachment: test_Button.html added

works for me

comment:2 Changed 13 years ago by bill

Resolution: worksforme
Status: newclosed

comment:3 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.