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

Modal focus should wait after animation. #4274

Closed
wawyed opened this issue Aug 26, 2015 · 1 comment
Closed

Modal focus should wait after animation. #4274

wawyed opened this issue Aug 26, 2015 · 1 comment

Comments

@wawyed
Copy link
Contributor

wawyed commented Aug 26, 2015

When a modal is opened focus to either the modal or the autofocus element is applied after waiting a $digest cycle using modalRender property. That is not enough as the focus happens before/during the animation in class. This could be avoided by using the promise returned from $animateCss or $animate.

I could submit a PR if you thing that is the right approach.

@wesleycho
Copy link
Contributor

This sounds reasonable - feel free to file a PR for this.

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

2 participants