Skip to content

Expected server HTML to contain a matching <kbd> in <span> #1398

@IanVS

Description

@IanVS

Description

I'm seeing a dev console warning that seems to be related to #1335:

Warning: Expected server HTML to contain a matching <kbd> in <span>.
    at kbd
    at span
    at button
    at http://localhost:3000/node_modules/.vite/deps/@docsearch_react.js?v=db2f8ae7:109:32
    at DocSearch (http://localhost:3000/node_modules/.vite/deps/@docsearch_react.js?v=db2f8ae7:4512:48)

I'm using Astro, which does SSR, which is what this warning seems to be about.

Steps to reproduce

I'll try to work on a reproduction, but it might take a bit.

Expected behavior

I expect not to see a warning message.

Environment

  • OS: macOS
  • Browser: All
  • DocSearch version: 3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions