Skip to content

Formatting a button to a new size doesn't necessarily change its width and height properties #5525

Open
@ghost

Description

Formatting a button to a new size doesn't necessarily change its width and height properties

Code example here: https://editor.p5js.org/Jstodd/sketches/klBXzGjCA

Try clicking the button in this example. If you are too far to the right, it will not click. Why? I styled the size, and i called the width and height, so why doesn't it work as expected?

Image of bug here:
buttonBug

I am using Ubunto 20.04 LTS Linux, and Brave Browser (Version 1.33.106 Chromium: 96.0.4664.110 (Official Build) (64-bit))

My browser settings are normal, no strict mode or anything. And generally Brave should run smooth like Chrome because its chromium based and kept up-to-date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions