-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(combobox): restores filterText
when filtered items are empty
#10498
fix(combobox): restores filterText
when filtered items are empty
#10498
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! ✨🏆✨
@@ -1633,7 +1633,7 @@ export class Combobox | |||
class={{ | |||
[CSS.input]: true, | |||
"input--single": true, | |||
"input--hidden": showLabel, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨🏆✨
packages/calcite-components/src/components/combobox/combobox.e2e.ts
Outdated
Show resolved
Hide resolved
await page.waitForChanges(); | ||
await combobox.type("an"); | ||
await page.waitForChanges(); | ||
await new Promise((res) => setTimeout(() => res(true), DEBOUNCE.filter)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, can you use page.waitForTimeout
for filtering delays?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
page.waitForTimeOut
is deprecated.
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 2.13.1</summary> ## [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@2.13.0...@esri/calcite-components@2.13.1) (2024-10-11) ### Bug Fixes * **chip:** Fix close icon color inconsistency ([#10493](#10493)) ([80b75c2](80b75c2)) * **combobox:** Restores `filterText` when filtered items are empty ([#10498](#10498)) ([6667c2a](6667c2a)) * **dialog:** No longer apply transform styling unless dragEnabled or resizable ([#10503](#10503)) ([e93fdbc](e93fdbc)) * **notice:** Ensure closed notice does not affect layout ([#10518](#10518)) ([655bbb7](655bbb7)) * **fix(panel):** Revert relative positioning on content ([#10496](#10496)) ([239f4da](239f4da)) </details> <details><summary>@esri/calcite-components-angular: 2.13.1</summary> ## [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-angular@2.13.0...@esri/calcite-components-angular@2.13.1) (2024-10-11) ### Miscellaneous Chores * **@esri/calcite-components-angular:** Synchronize components versions ### Dependencies * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 2.13.0 to 2.13.1 </details> <details><summary>@esri/calcite-components-react: 2.13.1</summary> ## [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@2.13.0...@esri/calcite-components-react@2.13.1) (2024-10-11) ### Miscellaneous Chores * **@esri/calcite-components-react:** Synchronize components versions ### Dependencies * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 2.13.0 to 2.13.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Ben Elan <no-reply@benelan.dev>
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 2.13.1</summary> [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@2.13.0...@esri/calcite-components@2.13.1) (2024-10-11) * **chip:** Fix close icon color inconsistency ([#10493](#10493)) ([80b75c2](80b75c2)) * **combobox:** Restores `filterText` when filtered items are empty ([#10498](#10498)) ([6667c2a](6667c2a)) * **dialog:** No longer apply transform styling unless dragEnabled or resizable ([#10503](#10503)) ([e93fdbc](e93fdbc)) * **notice:** Ensure closed notice does not affect layout ([#10518](#10518)) ([655bbb7](655bbb7)) * **fix(panel):** Revert relative positioning on content ([#10496](#10496)) ([239f4da](239f4da)) </details> <details><summary>@esri/calcite-components-angular: 2.13.1</summary> [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-angular@2.13.0...@esri/calcite-components-angular@2.13.1) (2024-10-11) * **@esri/calcite-components-angular:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 2.13.0 to 2.13.1 </details> <details><summary>@esri/calcite-components-react: 2.13.1</summary> [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@2.13.0...@esri/calcite-components-react@2.13.1) (2024-10-11) * **@esri/calcite-components-react:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 2.13.0 to 2.13.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Ben Elan <no-reply@benelan.dev>
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 2.13.1</summary> [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@2.13.0...@esri/calcite-components@2.13.1) (2024-10-11) * **chip:** Fix close icon color inconsistency ([#10493](#10493)) ([80b75c2](80b75c2)) * **combobox:** Restores `filterText` when filtered items are empty ([#10498](#10498)) ([6667c2a](6667c2a)) * **dialog:** No longer apply transform styling unless dragEnabled or resizable ([#10503](#10503)) ([e93fdbc](e93fdbc)) * **notice:** Ensure closed notice does not affect layout ([#10518](#10518)) ([655bbb7](655bbb7)) * **fix(panel):** Revert relative positioning on content ([#10496](#10496)) ([239f4da](239f4da)) </details> <details><summary>@esri/calcite-components-angular: 2.13.1</summary> [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-angular@2.13.0...@esri/calcite-components-angular@2.13.1) (2024-10-11) * **@esri/calcite-components-angular:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 2.13.0 to 2.13.1 </details> <details><summary>@esri/calcite-components-react: 2.13.1</summary> [2.13.1](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@2.13.0...@esri/calcite-components-react@2.13.1) (2024-10-11) * **@esri/calcite-components-react:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 2.13.0 to 2.13.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: Calcite Admin <calcite-admin@esri.com>
Related Issue: #10156
Summary
Restores
filterText
when filtered items are empty.