Skip to content

Commit 886e82b

Browse files
committed
refactor(aria/combobox): remove unused focus signals
1 parent 0bf9f25 commit 886e82b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/aria/combobox/combobox.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ export class Combobox<V> {
6969
/** The filter mode for the combobox. */
7070
filterMode = input<'manual' | 'auto-select' | 'highlight'>('manual');
7171

72-
/** Whether the combobox is focused. */
73-
readonly isFocused = signal(false);
74-
75-
/** Whether the combobox has received focus yet. */
76-
private _hasBeenFocused = signal(false);
77-
7872
/** Whether the combobox is disabled. */
7973
readonly disabled = input(false);
8074

@@ -122,12 +116,6 @@ export class Combobox<V> {
122116
this._deferredContentAware?.contentVisible.set(true);
123117
}
124118
});
125-
126-
afterRenderEffect(() => {
127-
if (!this._hasBeenFocused() && this._pattern.isFocused()) {
128-
this._hasBeenFocused.set(true);
129-
}
130-
});
131119
}
132120
}
133121

0 commit comments

Comments
 (0)