Changes between Version 1 and Version 3 of Ticket #16729


Ignore:
Timestamp:
Feb 26, 2013, 7:05:06 AM (8 years ago)
Author:
bill
Comment:

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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16729

    • Property Status changed from new to closed
    • Property Resolution changed from to patchwelcome
  • Ticket #16729 – Description

    v1 v3  
    11In IE browser the calendar popup is not displaying(It just flashing) when click on the !DateTextBox Button with caret browsing option enabled.
    22
    3 This is because the _onBlur event is calling automatically when it loses the focus from dijit.form.DateTextBox and that called the closeDropDown function.
     3This is because the _onBlur event is calling automatically when it loses the focus from dijit.form.!DateTextBox and that called the closeDropDown function.
    44