Opened 6 years ago

Closed 6 years ago

#16729 closed defect (patchwelcome)

Calendar: Issue in Displaying popup in IE browser when caret browsing is enabled

Reported by: naveen24788 Owned by: bill
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

In IE browser the calendar popup is not displaying(It just flashing) when click on the DateTextBox Button with caret browsing option enabled.

This is because the _onBlur event is calling automatically when it loses the focus from dijit.form.DateTextBox and that called the closeDropDown function.

Change History (3)

comment:1 Changed 6 years ago by bill

Component: GeneralDijit
Description: modified (diff)
Owner: set to bill
Summary: Issue in Displaying Calendar popup in IE browserCalendar: Issue in Displaying popup in IE browser when caret browsing is enabled

Presumably you are talking about http://blogmines.com/blog/2009/07/15/what-is-caret-browsing-in-internet-explorer-8/ ? I haven't tried it. Also, what version of IE are you using?

comment:2 Changed 6 years ago by naveen24788

I'm using IE9 browser. I'm seeing this issue in IE8 also. you can enable the caret browsing option by pressing F7 key.

comment:3 Changed 6 years ago by bill

Description: modified (diff)
Resolution: patchwelcome
Status: newclosed

I see. _HasDropDown is calling Calendar.focus(), but it isn't working. Rather, focus is going to the top of the page, to do text selection. Actually you can see a similar problem in test_Calendar.html. After pressing F7 you cannot tab into the Calendar widget, or to any other field for that matter.

I'm not sure why programmatic focus isn't working for the DateTextBox case when it works in a simple test case like running:

setTimeout(function(){ dojo.byId("after").focus(); }, 5000);

in test_Calendar.html. But regardless, I doubt there's anything that dijit can practically do to workaround this behavior. One obvious choice would be to not try to focus the drop down Calendar to begin with, or to not close the drop down when focus is shifted somewhere else, but that would completely break the accessibility of the page.

Note: See TracTickets for help on using tickets.