Skip to content

nmc/5802-search-term-randomly-disappearing#488

Merged
memurats merged 1 commit into
stable32from
nmc/5802-search-term-randomly-disappearing
Jul 10, 2026
Merged

nmc/5802-search-term-randomly-disappearing#488
memurats merged 1 commit into
stable32from
nmc/5802-search-term-randomly-disappearing

Conversation

@suet-kei-chan

Copy link
Copy Markdown

When the user typed a search term and clicked outside the input, the floating label snapped back to center and covered the typed text, making it appear as if the value had disappeared. Added :has(:not(:placeholder-shown)) so the label stays floated and padding-top is maintained whenever the input contains a value, regardless of focus state.

When the user typed a search term and clicked outside the input, the
floating label snapped back to center and covered the typed text, making
it appear as if the value had disappeared. Added :has(:not(:placeholder-shown))
so the label stays floated and padding-top is maintained whenever the
input contains a value, regardless of focus state.
@suet-kei-chan suet-kei-chan self-assigned this Jul 3, 2026
@memurats memurats merged commit 40adcef into stable32 Jul 10, 2026
4 of 5 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.

2 participants