processing / processing/p5.js-website

Scrolls in example code output frame seems unnecessary

Open
#716 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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?

Reference

What is your operating system?

Windows

Web browser and version

chrome://133.0.6943.143

Actual Behavior

When we run the example codes -
https://p5js.org/reference/p5.Camera/centerX/
https://p5js.org/reference/p5/arc/
https://p5js.org/reference/p5/triangle/
etc
There comes an unwanted scroll in the small window, making it even more smaller and makes it hard to see what is actually happening

  • images

Image

Image

Expected Behavior

There shouldn't be any scrolls even after running the code if not necessary , the output frame should look same before and after pressing the run button like -

Image

Image

Steps to reproduce
  1. onto your chrome browser (this issue specifically happening on chrome)
  2. go the urls mentioned above
  3. locate to any example codes
  4. click on run button - you can see the scrolls
Would you like to work on the issue?

yes

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 behavior on the referenced p5.Camera/centerX, p5/arc, or p5/triangle reference pages in Chrome, comparing the example output before and after pressing Run. Trace the example output frame from those pages and identify why scrolling appears; done means unnecessary scrollbars no longer reduce the frame and the examples remain usable after running.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.