Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1266 closed defect (fixed)

ComboBox: Dropdown re-opens on keyboard selection

Reported by: moe Owned by: alex
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc: peller@…, alex@…
Blocked By: Blocking:

Description

To reproduce go to http://archive.dojotoolkit.org/nightly/tests/widget/test_ComboBox.html and use the first combobox (ComboBox? #1: inlined data, autocomplete=false)

  1. Enter the letter "a" (without quotes)
  1. Press the down-arrow twice ("Alaska" will be selected)
  1. Hit enter

Bug: "Alaska" is correctly filled into the textfield but the dropdown opens again and also displays Alaska as the only choice.

Attachments (1)

1266.patch (3.4 KB) - added by doughays@… 13 years ago.
Changed ENTER to behave like space

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by dylan

Milestone: 0.4
Owner: changed from bill to alex

Changed 13 years ago by doughays@…

Attachment: 1266.patch added

Changed ENTER to behave like space

comment:2 Changed 13 years ago by doughays@…

Cc: peller@… alex@… added

The attached patch changes ENTER to behave like space instead of like tab per Becky Gibson (IBM).

comment:3 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

(In [5740]) Fixes #1266: make enter key work like space key in combobox. Also cleans up combobox to use onKey normalized event.

Patch from Doug Hays (IBM, CCLA on file)

comment:4 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.