Skip to content

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

Open
suet-kei-chan wants to merge 1 commit into
stable32from
nmc/5802-search-term-randomly-disappearing
Open

nmc/5802-search-term-randomly-disappearing#488
suet-kei-chan wants to merge 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
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