Skip to content

Algolia search results truncated on mobile — breadcrumb and inline context not shown despite sufficient space #5126

@ChisakaKanako

Description

@ChisakaKanako

Describe the bug

When using Algolia DocSearch, search results on mobile viewports do not display
the full result title hierarchy (breadcrumb) and surrounding inline context,
even though there is sufficient screen space to show them. The same query on
desktop displays the complete information correctly.

Image

Reproduction

  1. Open the site on a mobile device (or resize browser to mobile viewport)
  2. Open the search modal
  3. Type any keyword that returns results
  4. Observe that result items are missing the full breadcrumb path and/or
    the matching inline text context shown alongside the result

Expected behavior

Search results should display the same level of detail as on desktop.

System Info

System:
    OS: macOS 26.4
    CPU: (10) arm64 Apple M4
    Memory: 71.95 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 25.2.1 - /opt/homebrew/bin/node
    npm: 11.10.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 145.0.7632.77
    Safari: 26.4
  npmPackages:
    vitepress: ^2.0.0-alpha.16 => 2.0.0-alpha.16

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamRelated to the dependencies

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions