Skip to content

Commit f8c528d

Browse files
committed
chore: remove shellabr changes
1 parent 682f457 commit f8c528d

File tree

3 files changed

+2
-237
lines changed

3 files changed

+2
-237
lines changed

packages/fiori/src/ShellBar.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -655,11 +655,7 @@ class ShellBar extends UI5Element {
655655
this._detachSearchFieldListeners(e.target as HTMLElement);
656656
return;
657657
}
658-
if (this.showSearchField && this.search?.value) {
659-
// return if trying to collapse search field with value
660-
return;
661-
}
662-
if (!isPhone()) {
658+
if (!isPhone() && !this.search?.value) {
663659
this.setSearchState(!this.showSearchField);
664660
}
665661
}
@@ -878,10 +874,7 @@ class ShellBar extends UI5Element {
878874
}
879875
this.showSearchField = expanded;
880876
await renderFinished();
881-
const prevented = !this.fireDecoratorEvent("search-field-toggle", { expanded });
882-
if (!prevented && this.search && !expanded) {
883-
this.search.value = "";
884-
}
877+
this.fireDecoratorEvent("search-field-toggle", { expanded });
885878
}
886879

887880
onAfterRendering() {

packages/main/.sh.txt

Whitespace-only changes.

packages/main/test/pages/DynamicTree.html

Lines changed: 0 additions & 228 deletions
This file was deleted.

0 commit comments

Comments
 (0)