Skip to content

Commit fc1bcba

Browse files
committed
chore: submit button function updated
1 parent f9198e5 commit fc1bcba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

elements/pf-search-input/pf-search-input.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ export class PfSearchInput extends LitElement {
172172
const hideLightDomItems = !ComboboxController.supportsCrossRootActiveDescendant;
173173

174174
return html`
175-
<div class="search-input-container" @click=${this.#onSubmit}
176-
@keydown=${this.#handleKeyDown}>
175+
<div class="search-input-container">
177176
<div
178177
id="outer"
179178
style="${styleMap(styles)}"
@@ -215,7 +214,8 @@ export class PfSearchInput extends LitElement {
215214
</div>
216215
</div>
217216
</div>
218-
<div class="submit-button-container">
217+
<div @click=${this.#onSubmit} @keydown=${this.#handleKeyDown}
218+
class="submit-button-container">
219219
<slot name="submit"></slot>
220220
</div>
221221
</div>

0 commit comments

Comments
 (0)