Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolls in example code output frame seems unnecessary #716

Open
webermayank opened this issue Mar 5, 2025 · 2 comments
Open

Scrolls in example code output frame seems unnecessary #716

webermayank opened this issue Mar 5, 2025 · 2 comments
Labels
Bug Something isn't working

Comments

@webermayank
Copy link
Contributor

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

@webermayank webermayank added the Bug Something isn't working label Mar 5, 2025
@himanshuukholiya
Copy link

I was trying to reproduce this bug but I'm unable to see scrolls in the example code.
My Chrome version: Google Chrome 133.0.6943.141
OS: Ubuntu 22.04

Image

@webermayank
Copy link
Contributor Author

Yes i understand that this issue is not visible always because this has something to do with zoom level of your window,
try at different zoom levels (generally 60 -75 ),the issue may come
for more insights on this issue, have a look at discord server in contribute section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants