Datepicker popup does not focus back to input on date selection
Opened this issue · 1 comments
rshakespear commented
Basically, if you select any date from the calendar, the focus leaves the input. This is very painful if you're in the middle of a form and are trying to tab through it. Focus starts at the beginning of the document. The "today", "clear", and "done" buttons all reset the focus to the input properly.
Here's the issue and fix for the original ui-bootstrap:
angular-ui#4243
Morgul commented
That fix is already in this fork, since I forked well after that:
https://github.com/Morgul/ui-bootstrap4/blob/master/src/datepicker/datepicker.js#L328-L331
There's gotta be something else breaking this now. Can you put together an example?