processing / processing/p5.js-website
Browser scrolls on up and down key inputs on snake example
Open
@bryanhoffman is already working on this.
Since Mar 31, 2026.
Bug
- Dominant language
- MDX
- Stars
- 96
- Forks
- 322
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 8
Description
Most appropriate sections of the p5.js website?
Examples
What is your operating system?
Windows
Web browser and version
Chrome 146.0.7680.81
Actual Behavior
On the snake example: https://p5js.org/examples/games-snake/ the browser will scroll when up and down arrow keys are pressed
Expected Behavior
Once you've started playing snake, these scrolling actions are disorienting. The game should remained fixed. I will comb for other examples that may need a similar treatment.
Steps to reproduce
No response
Would you like to work on the issue?
On it!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.