Skip to content

Log In button sometimes shows cursor: not-allowed when autofilled with a saved password #2228

Closed
@lindapaiste

Description

@lindapaiste

p5.js version

No response

What is your operating system?

Windows

Web browser and version

Chrome 113.0.5672.93

Actual Behavior

cursor: not-allowed 🚫

This is extremely minor, but I've noticed an issue with the form state on the login page where it can sometimes show the wrong cursor when hovering the "Log In" button. It still works when I click it, but it looks as though it is not clickable. This corrects itself as soon as I click anywhere within the window. It only happens if I start directly on the https://editor.p5js.org/login page. Chrome autofills my username and password so the form is complete before the window is focused.

Expected Behavior

cursor: pointer 👆

I can't capture the cursor in my screenshots, but I also see that the text is not getting the correct CSS style in the auto-fill situation. Again, it fixes itself as soon as I click anywhere inside the window.

Screenshot 2023-06-04 12 57 25
Screenshot 2023-06-04 13 01 55

Steps to reproduce

Steps:

  1. Save your login details using the Chrome password manager
  2. Navigate directly to URL https://editor.p5js.org/login
  3. Hover over the "Log In" button

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