Ticket #1873 (closed enhancement: fixed)
Improve DropdownContainer
| Reported by: | elazutkin | Owned by: | bill |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | Dijit | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by elazutkin) (diff)
The TimePicker? widget requires up to 3 clicks to set time: one to select an hour, one to select AM/PM, and one to select minutes. It makes the DropdownTimePicker? cumbersome to use: after every click it closes, and has to be re-opened to select a next time component. (See #1872 for merging DatePicker? and TimePicker?, which will require the proposed functionality.)
The DropdownContainer? should support a special mode of operation specified by a separate parameter. After opening the container it should watch for following events:
- User pressed Esc button => close it.
- User clicked outside the container => close it.
- Containing widget requested to close the container (e.g., when user clicked a special "close" button, or made her selection) => close it.
- (optional) If a cursor is inside the container, close it when the cursor goes outside.
Change History
Note: See
TracTickets for help on using
tickets.