Skip to content

page not scrollable and navigation issues #1162

@chiang03

Description

@chiang03

case: URL with no slash before hash

Example

https://rescript-lang.org/docs/manual/api/stdlib/promise#value-catch

Reached by

clicking on links on the sidebar. Doing so on API pages adds hash to the URL, but doesn't on Manual or React pages

Problems

API pages are sometimes not scrollable. It seems to be cycling between scrollable and not on each click on links on sidebar.

case: URL with slash before hash

Example

https://rescript-lang.org/docs/manual/api/stdlib/promise/#value-catch

Reached by

  1. directly input (e.g. copy-paste) the URL of either case into the browser URL box, or
  2. refresh page

Problems

  1. on Manual and React pages, there are no buttons to previous/next chapter at the bottom
  2. sidebar doesn't highlight the current page on any Manual, React, or API page.

There are error messages in browser dev tools console:

  • Minified React error #418 https://react.dev/errors/418?args[]=text&args[]=

    • logged on initial load of any page, such message does not appear when navigating via the sidebar
  • GET https://rescript-lang.org/docs/manual/introduction.data net::ERR_ABORTED 503 (Service Unavailable)

    • logged every time any link on sidebar is hovered
    • only occurs on Manual and React pages, not on API pages
    • error URL depends on which link is hovered

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions