Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Datepicker loses focus is lost when switching modes #6620

Open
LyraelRayne opened this issue Aug 25, 2017 · 0 comments
Open

Datepicker loses focus is lost when switching modes #6620

LyraelRayne opened this issue Aug 25, 2017 · 0 comments

Comments

@LyraelRayne
Copy link

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:

  1. Open the date picker popup.
  2. Press Ctrl+Up
  3. 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant