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

feat(datepicker): add open-on-focus option #2515

Closed
wants to merge 1 commit into from

Conversation

greenboxal
Copy link

Adds the so requested option to open the datepicker popup when the input gets focus.
I understand that it was removed to improve accessibility but in some cases opening on focus is needed.

Also, I'm not sure on how to test this, so I didn't write any unit tests :/

@wesleycho
Copy link
Contributor

Can you give an example where opening on focus would be desired?

Also, the datepicker seems to have changed quite a bit since this PR was filed - can you rebase your branch off of current master?

@rvanbaalen
Copy link
Contributor

Closing due to inactivity will be re-opened once @greenboxal chooses to respond.

@rvanbaalen rvanbaalen closed this Apr 10, 2015
@karianna karianna modified the milestones: 1.1, Backlog Apr 11, 2015
jbthoma added a commit to jbthoma/bootstrap that referenced this pull request May 5, 2015
This change is based on angular-ui#2515, except it uses scope.$apply instead of $timeout, and adds datepickerPopupConfig.openOnFocus instead of scope variable @openOnFocus.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants