This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngClick + ngFocus = $rootScope:inprog error #5945
Closed
Description
Steps to reproduce:
- Set up a directive with:
- an element with
ng-click
- an
input
withng-focus
- an element with
- Inside the
ng-click
handler, callinput.focus()
Expected result:
Input will focus, and ng-focus
handler will be called.
Observed result:
Input focuses, but $rootScope:inprog
error thrown. Error cannot be caught. ng-focus
handler never called.