Skip to content

Add clear button to examples sidebar filter input#8541

Merged
mvaligursky merged 1 commit intomainfrom
mv-examples-filter-clear
Mar 20, 2026
Merged

Add clear button to examples sidebar filter input#8541
mvaligursky merged 1 commit intomainfrom
mv-examples-filter-clear

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

@mvaligursky mvaligursky commented Mar 20, 2026

Add an X button to the examples browser sidebar filter input to allow clearing the search text with a single click.

Changes:

  • Add a clear (✕) button that appears on the right side of the filter input when text is entered
  • Clicking the button clears the filter text and resets the example list
  • Hide the PCUI placeholder text when there's filter text to prevent overlap with the clear button
Screenshot 2026-03-20 at 11 03 39

Add an X button that appears when text is entered in the filter input,
allowing users to clear the search with a single click instead of
manually deleting text with backspace.

Made-with: Cursor
@mvaligursky mvaligursky self-assigned this Mar 20, 2026
@mvaligursky mvaligursky requested a review from kpal81xd March 20, 2026 11:09
@mvaligursky mvaligursky merged commit 4475f1c into main Mar 20, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-examples-filter-clear branch March 20, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant