cfpb / design-system-react

A React/Storybook implementation of CFPB's Design System
https://cfpb.github.io/design-system-react/
MIT License
6 stars 4 forks source link

Bug: Clicking on types links has unexpected results #354

Open natalia-fitzgerald opened 3 months ago

natalia-fitzgerald commented 3 months ago

On the pages where we have Types and links that take you to each of those types I land on a totally unexpected page.

Current behavior

Click on "Checkbox" link:

Screenshot 2024-05-22 at 12 19 40 PM

Arrive here:

Screenshot 2024-05-22 at 12 18 58 PM

Expected behavior

Click on "Checkbox" link:

Screenshot 2024-05-22 at 12 19 40 PM

Arrive here:

Screenshot 2024-05-22 at 12 22 00 PM

Steps to replicate behavior (include URLs)

  1. https://cfpb.github.io/design-system-react/?path=/docs/components-verified-checkboxes-overview--overview
  2. Click on "Checkbox"
  3. Arrive here: https://cfpb.github.io/?path=/docs/components-verified-checkboxes-checkbox--overview
  4. Should instead arrive here: https://cfpb.github.io/design-system-react/?path=/docs/components-verified-checkboxes-checkbox--overview