mike-jumper opened a new pull request #421: GUACAMOLE-302: Do not rely on $evalAsync() for assigning focus. URL: https://github.com/apache/guacamole-client/pull/421 It appears that we cannot rely on `focus()` working as expected unless its execution is deferred via `window.setTimeout()` or equivalent. If not deferred, the target element may not be ready to receive focus, and the attempt will silently fail. Note that while there is a _chance_ that deferred execution will happen with the current usage of `$evalAsync()` within the `guacFocus` directive, but this is not guaranteed. If it can, AngularJS will execute function provided to `$evalAsync()` immediately after the current `$digest` loop and without control returning to the browser.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
