tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 108 forks source link

Funny demo #10

Closed ffuubarbuzz closed 9 years ago

ffuubarbuzz commented 9 years ago

Close button in 'Programmatic Control' is kinda useless: you can't trigger it's click neither clicking it (you are clicking overlay) nor with keyboard (pressing shift+tab also closes drop-down).

op16 commented 9 years ago

It's true that you aren't actually clicking the Close button, but the overlay. Still, you can trigger it with the keyboard: just use the Open button to open the dropdown, then Tab and Enter will trigger the Close button.

ffuubarbuzz commented 9 years ago

I can't: when I press shift+tab, or tab, drop-down closes immediately, so pressing Enter for triggering button is pointless.

ffuubarbuzz commented 9 years ago

Just tried this in FF and there everything is as you've described, so this is probably Mac Chrome specific.

op16 commented 9 years ago

Anyway, the Close button was included more for completness than for usefulness.

ffuubarbuzz commented 9 years ago

One more note. This is kinda strange: you can tab from Open button, but can't from input replacement. I guess whole tabbing is somehow broken in Mac Chrome. But this is another issue, so I'll better close this one.

op16 commented 9 years ago

Tabbing from the input replacement closes the dropdown in FF too.

As a note, using the widget by keyboard only has issues we never took the time to fix. Any such fixes would be most welcomed.