Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search highlighted matches do not reflect typed text #4209

Open
4 tasks done
thdoan opened this issue Sep 17, 2024 · 0 comments
Open
4 tasks done

Search highlighted matches do not reflect typed text #4209

thdoan opened this issue Sep 17, 2024 · 0 comments
Labels
stale upstream Related to the dependencies

Comments

@thdoan
Copy link

thdoan commented Sep 17, 2024

Describe the bug

When you type in the search box, the highlighted matches (underlined text) do not reflect what you've actually typed.

Reproduction

  1. Go to https://vitepress.dev/
  2. Click on search box
  3. Type "focus"

ISSUE: "focus" should be highlighted in purple, but only "foc" is highlighted (see screenshot).

Expected behavior

The expected behavior is for the entered text to be highlighted.

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    vitepress: latest => 1.3.4

Additional context

image

Validations

@thdoan thdoan added the bug: pending triage Maybe a bug, waiting for confirmation label Sep 17, 2024
@brc-dd brc-dd added upstream Related to the dependencies and removed bug: pending triage Maybe a bug, waiting for confirmation labels Sep 17, 2024
@github-actions github-actions bot added the stale label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale upstream Related to the dependencies
Projects
None yet
Development

No branches or pull requests

2 participants