Skip to content

Full-frame sketches have scroll bars by default #4046

@davepagurek

Description

@davepagurek

p5.js version

1.11.1

What is your operating system?

Mac OS

Web browser and version

Firefox 148

Actual Behavior

createCanvas(windowWidth, windowHeight) has some subtle scrolling:

Image

Expected Behavior

Ideally there should be no scroll bars. I think this may be a recent regression, since it used to not be this way?

Steps to reproduce

Steps:

Make sure you can actually see scroll bars. On macs they only show up while actively scrolling while on a device with a trackpad. For me anyway, they show up all the time when I have a mouse. But you can turn them on all the time for testing: https://unsung.aresluna.org/testing-tip-always-show-scrollbars/

Snippet:

function setup() {
  createCanvas(windowWidth, windowHeight);
}

function draw() {
  background(220);
}

Live: https://editor.p5js.org/davepagurek/sketches/Rfq0Q21AD

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugError or unexpected behaviors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions