Skip to content

[Docs] wrong url when cmd+click on right side navigation #18756

@Janpot

Description

@Janpot
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

First of all, this is an extremely minor issue, but just so you're aware:

It happens in the right-side navigation menu for components. When I cmd+click an item to open it in another tab, e.g. on 'Demos' it goes to https://material-ui.com/#demos, which redirects to https://v0.material-ui.com/#/demos

Expected Behavior 🤔

It should open the correct page in a new tab and the page should scroll to the selected section.

Steps to Reproduce 🕹

Steps:

  1. go to https://material-ui.com/components/box/
  2. cmd+click on an item in the ride-side navigation
  3. look at the tab it opens

Context 🔦

Your Environment 🌎

Tech Version
Material-UI v4.7.2
React
Browser latest chrome
TypeScript
etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to the documentation.good first issueGreat for first contributions. Enable to learn the contribution process.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions