diff --git a/packages/client/src/components/user-select-dialog.vue b/packages/client/src/components/user-select-dialog.vue
index b34d21af07..972d353486 100644
--- a/packages/client/src/components/user-select-dialog.vue
+++ b/packages/client/src/components/user-select-dialog.vue
@@ -11,7 +11,7 @@
-
+
{{ $ts.username }}
@
@@ -70,15 +70,8 @@ let host = $ref('');
let users: misskey.entities.UserDetailed[] = $ref([]);
let recentUsers: misskey.entities.UserDetailed[] = $ref([]);
let selected: misskey.entities.UserDetailed | null = $ref(null);
-let usernameEl: HTMLElement = $ref();
let dialogEl = $ref();
-const focus = () => {
- if (usernameEl) {
- usernameEl.focus();
- }
-};
-
const search = () => {
if (username === '' && host === '') {
users = [];
@@ -112,12 +105,6 @@ const cancel = () => {
};
onMounted(() => {
- focus();
-
- nextTick(() => {
- focus();
- });
-
os.api('users/show', {
userIds: defaultStore.state.recentlyUsedUsers,
}).then(users => {