Skip to main content

Search and Top Navigation

#7313 closed bug (worksforme)

Opened May 03, 2011 08:20PM UTC

Closed May 04, 2011 02:27PM UTC

Ctrl+End move focus to datepicker field

Reported by: alon@mcgroup.co.il Owned by: alon@mcgroup.co.il
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.11
Keywords: Cc:
Blocked by: Blocking:
Description

After selecting a date with datepicker, the focus move to the document, allowing the user to click again on the field and reopen the datepicker dialog.

When the user click Ctrl+End (delete the current date form the field), the dialog close but the focus is on the field - The focus need to move to the document so the user can open the dialog again without the need to moving the focus away from the datepicker field.

Attachments (0)
Change History (3)

Changed May 04, 2011 01:11PM UTC by scottgonzalez comment:1

owner: → alon@mcgroup.co.il
status: newpending

I don't understand the steps you're using, if the datepicker is open and the text field has focus, the datepicker should not close just from using the keyboard (unless you press escape).

Changed May 04, 2011 01:18PM UTC by alon@mcgroup.co.il comment:2

status: pendingnew

I hope this will help - http://jqueryui.com/demos/datepicker/

1. Click on the date field to open the datepicker, and select a random date

2. Click again on the date field, and the datepicker dialog will open again - That's good!

Bug:

1. Open the datepicker again, and this time click Ctrl+End to clear the date from the field

2. Click again on the date field - the datepicker dialog is not opening because the focus is already in the date field

Changed May 04, 2011 02:27PM UTC by scottgonzalez comment:3

resolution: → worksforme
status: newclosed

Ok, so I see in the documentation that ctrl+end closing the datepicker is expected behavior. I'm closing this since using the keyboard should not change focus unless you explicitly move to another field. I don't see a reason that ctrl+end should have different behavior from escape, ctrl+a, delete.