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

autofocus in modal doesn't work a second time #2802

Closed
wilg opened this issue Oct 7, 2014 · 7 comments
Closed

autofocus in modal doesn't work a second time #2802

wilg opened this issue Oct 7, 2014 · 7 comments

Comments

@wilg
Copy link

wilg commented Oct 7, 2014

  1. Open a modal that has an autofocus text field
  2. Note the field focuses
  3. Open the same modal again.
  4. Note the field doesn't focus.

This was fixed in #2273 but was not merged.

@pkozlowski-opensource
Copy link
Member

Hmm, #2273 was merged but it doesn't seem to fix the issue :-/

@ddomingues
Copy link
Contributor

I did a pull request to fix this. #2945

@wesleycho wesleycho added this to the 0.13.0 milestone Mar 23, 2015
ayakovlevgh pushed a commit to ayakovlevgh/bootstrap that referenced this issue Mar 24, 2015
element with autofocus attribute when the modal is reopened

Fixes angular-ui#2802
@gauravarya83
Copy link

Still not working for me, I have AngularJS 1.2.28 !

@nosheen-javed
Copy link

Hi,
I am facing the same issue. Did you find any solution for this?
Thanks

@sanhappyboy
Copy link

Do we have any solution for this?

@jagdishjadeja
Copy link

i am having this problem in chrome only
in safari it works fine

@usmanajmal
Copy link

Facing same exact issue with Angular 5 and Chrome

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

No branches or pull requests

9 participants