Skip to content

fix: invisible SearchBar#1009

Merged
spacecowboy merged 1 commit into
spacecowboy:masterfrom
luk-dushaj:master
Jan 27, 2026
Merged

fix: invisible SearchBar#1009
spacecowboy merged 1 commit into
spacecowboy:masterfrom
luk-dushaj:master

Conversation

@luk-dushaj

@luk-dushaj luk-dushaj commented Dec 21, 2025

Copy link
Copy Markdown
Contributor

I looked into issue #975 and traced the problem to how the SearchBar expansion state was being handled.

Both the SearchBar and its inputField were configured with expanded = true. This appears to cause the SearchBar to start in an already-expanded state, which results in the search UI being present but not visibly rendered.

Setting SearchBar(expanded = false) while leaving expansion controlled by the inputField restores the expected behavior: the SearchBar is visible in its collapsed state and expands correctly on interaction.

This change only adjusts the initial expansion state and does not alter any search logic.

fixes #975

I looked into issue spacecowboy#975 and traced the problem to how the SearchBar expansion state was being handled.

Both the SearchBar and its inputField were configured with expanded = true. This appears to cause the SearchBar to start in an already-expanded state, which results in the search UI being present but not visibly rendered.

Setting SearchBar(expanded = false) while leaving expansion controlled by the inputField restores the expected behavior: the SearchBar is visible in its collapsed state and expands correctly on interaction.

This change only adjusts the initial expansion state and does not alter any search logic.
@spacecowboy spacecowboy changed the title Fix invisible SearchBar fix: invisible SearchBar Jan 27, 2026
@spacecowboy

Copy link
Copy Markdown
Owner

Thank you @luk-dushaj for fixing this!

Sorry for the delay

@spacecowboy spacecowboy enabled auto-merge (squash) January 27, 2026 21:52
@spacecowboy spacecowboy disabled auto-merge January 27, 2026 21:52
@spacecowboy spacecowboy merged commit 50caa16 into spacecowboy:master Jan 27, 2026
9 of 12 checks passed
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.

Search Bar goes black

2 participants