Opened 14 years ago
Closed 14 years ago
#3997 closed defect (fixed)
InlineEditBox in themeTester.html: can't edit (IE6)
Reported by: | bill | Owned by: | haysmark |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Dijit | Version: | 0.9 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
Clicking the InlineEditBox? for a textarea on IE6 works, but in themeTester.html there's no effect. Something weird w/the focus.js code, perhaps?
Attachments (1)
Change History (7)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Cc: | [email protected]… added |
---|
comment:4 Changed 14 years ago by
This seems related to the use of onactivate in focus manager. Why does focus manager listen to onactivate? What happens in themeTester is the onactivate bubbles up to the div surrounding the InlineEditBox? (not even part of the widget) and the body listener fires again, blurring focus from the InlineEditBox? and causing it to close in the same thread that opened it. It seems to work as intended if you change onactivate/deactivate to onfocus/blur.
comment:5 Changed 14 years ago by
onactivate/ondeactivate are use on-purpose. The purpose of focus manager is to trace whenever any element on the page gets focus/blur, which means that the focus event has to bubble up from the element to the <body> tag... but on IE focus and blur don't bubble up.
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Is the following the same problem? Using http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_InlineEditBox.html click on (or press enter if you tab to it) the second textarea widget (the second one that starts with "I'm one big paragraph..." The box opens for a few ms and then immediately closes. This is only on IE.