Skip to content

Wayfinder does not scroll to first or last sections #598

@hobuobi

Description

@hobuobi

The Wayfinder on Spotlight is the bar at the bottom that contains the "table of contents," as well as arrows to allow the user to easily navigate from section to section sequentially.

Currently, the Wayfinder does not allow the user to to first or last sections. To reproduce:

  • Go to any narrative on Spotlight (for any state)
  • Click on the rightwards arrow (next) until at the second to last section (e.g. section 5/6, or section 3/4).
  • Click the right arrow again.
  • Observe error Bump websocket-extensions from 0.1.3 to 0.1.4 #1 (page will scroll halfway to the last section and then stop).
  • Try doing the same thing going in the other direction, i.e., click the left arrow until the second section on the page (page 2/X).
  • Click the left arrow again.
  • Observe error Build frontend skeleton #2 (page will scroll halfway to the first section and then stop).

I don't believe we were running into this issue when the feature was first merged, so maybe a recent change broke it? cc @nasaownsky as the original engineer on the feature and might have some idea why it's broken.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions