Skip to content

Instant Previews disable content tabs #7408

@lampensau

Description

@lampensau

Context

No response

Bug description

Using the instant preview feature on a document heading that includes a content tab will disable the content tabs inside the section after previewing (hovering) the link.

Initial state:
Content tabs are active; content is visible

After hovering the preview link:
grafik

To view a content tab's content again, the user must click its heading or reload the page, making the content much easier to overlook.

Related links

Reproduction

9.5.30+insiders.4.53.11-instant-preview-disables-tabs.zip

Sidenote: Why does the mkdocs-material-insiders repository currently report the 9.5.29 as latest version?

Steps to reproduce

  1. Install and enable material insiders theme
  2. Enable and configure the Markdown extensions pymdownx.superfences, and pymdownx.tabbed using the alternate_style
  3. Use the instant preview feature to a document heading containing one or multiple content tabs. Content tabs only get disabled if the instant preview tooltip includes them.

Note: I found no real difference between the different options to enable instant previews; the minimal reproduction uses the method relying on the attr_list Markdown extension.

Browser

Chrome, Edge, Firefox

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions