You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
When a modal opens, we would like to be able to set the focus to the first input. But your implementation of the directive hijack this behaviour.
ui-bootsrap-tpls-0.10.0.js line 1459
// focus a freshly-opened modal
element[0].focus();
This automatically set the focus to the opening window and the only solution we've found to set it to the first input was to delay the action using a $timeout call.
Is there any other solution? (registering a callback or listening to events?)
Would it be possible that we provide you with an improved version with a default value using the current behaviour and the availability to disable it?
The text was updated successfully, but these errors were encountered:
Hi,
When a modal opens, we would like to be able to set the focus to the first input. But your implementation of the directive hijack this behaviour.
ui-bootsrap-tpls-0.10.0.js line 1459
// focus a freshly-opened modal
element[0].focus();
This automatically set the focus to the opening window and the only solution we've found to set it to the first input was to delay the action using a $timeout call.
Is there any other solution? (registering a callback or listening to events?)
Would it be possible that we provide you with an improved version with a default value using the current behaviour and the availability to disable it?
The text was updated successfully, but these errors were encountered: