Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FindReplaceBar: 'No matches' shown before the user types #27

Description

@stultus

Area: src/lib/components/FindReplaceBar.svelte (~line 159)
Severity: Low

Problem

The match counter reads "No matches" the moment the bar opens, before the user has
typed anything. That's misleading — nothing is being matched yet.

Suggested fix

Show empty / "Type to search" placeholder text until the query is non-empty, then
switch to the match count once there's something to count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions