This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
Datepicker loses focus is lost when switching modes #6620
Open
Description
Bug description:
When the UIB datepicker changes modes, the focus is lost. This makes keyboard navigation difficult when mode switching is used.
Link to minimally-working plunker that reproduces the issue:
http://angular-ui.github.io/bootstrap/#!#datepickerPopup
Steps to reproduce the issue:
- Open the date picker popup.
- Press Ctrl+Up
- Datepicker is no longer focused
Version of Angular, UIBS, and Bootstrap
Angular: 1.6.1
UIBS: 2.5.0
Bootstrap: 3.3.7
Probable reason
I'm guessing this is caused by the ng-switch swapping out the datepicker div, meaning that no element has focus.
Metadata
Metadata
Assignees
Labels
No labels