processing / processing/p5.js-website

Back button/history broken in Safari on reference pages

Open
#822 13 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Help Wanted
Dominant language
MDX
Stars
96
Forks
322
Avg merge
5d 22h
Merged PRs (30d)
8

Description

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

Mac OS

Web browser and version

Firefox 137.0.2

Actual Behavior

The back button doesn't work in Firefox when browsing reference pages. Something about individual reference pages is filling the browser history. Note: it seems to work fine in chrome!

Expected Behavior

Going back a page from a a function reference should take you back to the main reference page.

Steps to reproduce

To reproduce, open the reference page, click on arc() (or any other function), scroll down, then try to go back a page (or just take a look at the history). This only happens if you scroll down a bit, so perhaps it has something to do with the embedded sketches?

Would you like to work on the issue?

Unfortunately I don't have time at the moment, but would be happy to take a look after may 15th if no one else is able to get to it before then.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Firefox on a reference page such as arc(), then inspect browser history while scrolling and interacting with the embedded sketch. Done means the back button returns to the main reference page without extra history entries, while existing Chrome behavior remains working.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.