Skip to content

Tab sync using groupId not functioning #8473

Closed

Description

@qdot

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • I have read the console error message carefully (if applicable).

Description

Tab sync does not seem to work, even when Tabs blocks have a similar groupId. This issue is present across latest Firefox and Chrome, and happens within the Docusaurus documentation itself.

Reproducible demo

https://docusaurus.io/docs/markdown-features/tabs#syncing-tab-choices

Steps to reproduce

  1. Go to the docusaurus docs website, markdown-features/tabs section
  2. Try clicking the examples in the Syncing Tab Choices portion

Expected behavior

The tabs for windows/mac should change in sync.

Actual behavior

The tabs are unaffected by selections of one another.

Your environment

Self-service

  • I'd be willing to fix this bug myself.

Activity

  1. added
    bugAn error in the Docusaurus core causing instability or issues with its execution
    status: needs triageThis issue has not been triaged by maintainers
    on Dec 21, 2022
  2. Josh-Cena commented on Dec 21, 2022

    @Josh-Cena
    Collaborator

    Likely broken by #8225. Thanks for the report!

  3. added
    domain: themeRelated to the default theme components
    and removed
    status: needs triageThis issue has not been triaged by maintainers
    on Dec 21, 2022
  4. 0916dhkim commented on Dec 25, 2022

    @0916dhkim
    Contributor

    I opened a PR to fix this issue. Can you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executiondomain: themeRelated to the default theme components

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions