Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #8488
Closed
Open
Issue created Feb 14, 2020 by Administrator@rootContributor

No docusaurus sidebar highlighting for elements with code blocks as the title

Created by: quetzaluz

Describe the bug

  • I have identified that this is likely not an issue with docusaurus as the default docusaurus sidenav highlighting handles code blocks fine with bold styling
  • When focused on a section where the title is a code block, the side nav does not show different styling or highlighting at https://create-react-app.dev/docs/running-tests [was highlighted over src/setupTests.js:
Screen Shot 2020-02-14 at 3 00 42 PM - This is an example of working highlighting for a non code title Screen Shot 2020-02-14 at 3 00 35 PM

Did you try recovering your dependencies?

Yes, N/A, issue repros locally

Which terms did you search for in User Guide?

N/A

Environment

Environment Info:

  current version of create-react-app: 3.4.0
  running from /Users/laluzc/repos/create-react-app/packages/create-react-app

  System:
    OS: macOS Mojave 10.14.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  Binaries:
    Node: 12.12.0 - /usr/local/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
  Browsers:
    Chrome: 80.0.3987.106
    Firefox: 73.0
    Safari: 13.0.5
  npmPackages:
    react:  16.12.0 
    react-dom:  16.12.0 
    react-scripts:  3.4.0 
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

  1. Browse the React App documentation and find a page where some sections are code for the title, ex https://create-react-app.dev/docs/running-tests
  2. Scroll over that section
  3. Notice no sidebar highlighting

Expected behavior

Sidebar section highlighting occurs like other docusaurus apps

Actual behavior

Notice no sidebar highlighting at top of report

Reproducible demo

Reproduced at https://create-react-app.dev/docs/running-tests

This is possibly related to the docusaurus 2 update, taking a bit of a look myself as well.

Assignee
Assign to
Time tracking