Skip to content

[bug] Matches highlighting is not visible when the code preview panel first appears #255

Closed
@brendan-kellam

Description

@brendan-kellam

Describe the bug

When clicking on a code-snippet in the search result list, the code preview panel opens as expected, but the search results are not highlighted. If you click on a different code-snippet in the same file, highlighting will load and the code preview will jump to the result. Clicking on a code-snippet in a different file will trigger the bug again.

To reproduce

  1. Make a search
  2. Click on a search result

Expected:

  • The code preview panel should open with search result highlighting.

Actual:

  • Code preview panel opens, but search results are not highlighted.

Sourcebot deployment information

Sourcebot version (e.g. v3.0.1): v3.0.0

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions