mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-24 16:49:26 +01:00
delay to search focus on current tab page
This commit is contained in:
parent
f23714a1f7
commit
0fc9e70488
@ -24,7 +24,11 @@ export class CurrentController {
|
||||
this.inSidebar = utilsService.inSidebar($window);
|
||||
this.disableSearch = utilsService.isEdge();
|
||||
|
||||
document.getElementById('search').focus();
|
||||
$scope.$on('$viewContentLoaded', function () {
|
||||
$timeout(function () {
|
||||
document.getElementById('search').focus();
|
||||
}, 50);
|
||||
});
|
||||
|
||||
$scope.$on('syncCompleted', (event: any, successfully: boolean) => {
|
||||
if (this.loaded) {
|
||||
|
Loading…
Reference in New Issue
Block a user