Changes between Initial Version and Version 1 of Ticket #16266


Ignore:
Timestamp:
Oct 31, 2012, 4:46:59 AM (7 years ago)
Author:
bill
Comment:

Yes, that's right.

How would you like it to work? I don't see a practical solution to make arrows work inside a TextBox in a Toolbar while still being able to navigate to the other widgets in the Toolbar. So, I'm tempted to close this as wontfix, saying that you can't have a TextBox in a Toolbar.

I did compare to MSOffice... in that software, you can use arrow keys to navigate within ComboBox type widgets in the toolbar, but you can't use arrows to navigate across buttons in the toolbar. That means the Toolbar is not accessible, but that's OK because the menu above the Toolbar is accessible.

We could take that approach too, requiring that all web apps built with dojo have a menu in addition to a toolbar, but it doesn't seem realistic that app developers would actually do that. I'm sure there are lots of apps with only toolbars and no corresponding menus.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16266

    • Property Cc Becky Gibson mikeb added
    • Property Owner changed from bill to noxryan
    • Property Status changed from new to pending
    • Property Summary changed from dijit.Toolbar overrides dijit.TextBox arrow key behavior to Toolbar: overrides dijit.TextBox arrow key behavior
  • Ticket #16266 – Description

    initial v1  
    1 When you create a dijit.Toolbar that contains a dijit.TextBox, the arrow key behavior from _KeyNavContainer overrides the TextBox's default behavior. This makes it so you can't move the cursor's position using the arrow keys within the TextBox.
     1When you create a dijit.Toolbar that contains a dijit.!TextBox, the arrow key behavior from _KeyNavContainer overrides the !TextBox's default behavior. This makes it so you can't move the cursor's position using the arrow keys within the !TextBox.
    22
    33
     
    55http://jsfiddle.net/VrtRe/2/
    66
    7 1. Type something in the TextBox
     71. Type something in the !TextBox
    882. Press arrow keys