Skip to content

Prevent Search Index Conflicts Across Multiple Tabs in Docsify Search Plugin in v5? #2533

Closed
@paulhibbitts

Description

@paulhibbitts

Bug Report

Steps to reproduce

  1. Open two Docsify sites in two Browser tabs where both use the Search plugin.
  2. Search one site for some expected words
  3. Then switch to the second site and search for the same words

Current behaviour

The first site open will be indexed and stored in the local(?) database, and the second site will try to use these same items for it's search

Expected behaviour

Multiple Docsify sites open in multiple tabs should each be searchable with the expected content

Other relevant information

  • Docsify version: v5
  • Bug still occurs when all/other plugins are disabled?

  • Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue):

Please create a reproducible sandbox

Here are two sandboxes, with different content and both using the Search plugin:

Demo site 1:
https://yskwll.csb.app/#/

Demo site 2:
https://5m8xyx.csb.app/#/

Please let me know if more info is helpful, and if I can be of help testing etc. Thank you!

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions