Skip to content

bug(input, select, autocomplete): wrong cursor on hover inner padding #26491

Closed
@RobinKamps

Description

@RobinKamps

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

According to the Material Standard the cursor should always be text for autocomplete & input and pointer for select.
Instead the cursor is only set to text/pointer on the standard html element - not the container, which has a padding where the cursors are default.
On the select it gets a bit more wierd, because the cursor wobbles from default (on the container padding) to text (on the label) to the pointer (on the html standard input).
inputs-cursor

Reproduction

Steps to reproduce:

  1. head to the docs for autocomplete/input or select .e.g. https://material.angular.io/components/select/overview
  2. hover over the elements

Expected Behavior

the cursor should stay the same if hovered over the component.

Actual Behavior

the cursor is different on the container padding / label (not material strandard compliant)

Environment

  • Angular: 15.1.1
  • CDK/Material: 15.1.1
  • Browser(s): all
  • Operating System (e.g. Windows, macOS, Ubuntu): all

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/form-field

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions