Skip to content

NumberControl: Hovering over spin buttons in Safari can trigger drag #37127

@mirka

Description

@mirka

Description

In Safari, you can get stuck in a drag-like motion when simply hovering over the spin buttons. This happens after you click a spin button once, or after you initiate an actual drag motion in the input field.

Step-by-step reproduction instructions

  1. Go to the Storybook for NumberControl.
  2. Click on a spin button once and let go of the mouse button.
  3. Hover over the spin buttons.

Screenshots, screen recording, code snippet

CleanShot.2021-12-05.at.01.16.26.mp4

Environment info

Safari 15.0 (Does not reproduce in Chrome or Firefox)

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Browser IssuesIssues or PRs that are related to browser specific problems[Feature] Component SystemWordPress component system[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions