Skip to content

extra 'span' element added in mat-option of autocomplete makes impossible to style the internals #8561

Closed
@k-krupka

Description

@k-krupka

Bug, feature request, or proposal:

I would consider it a bug unless told otherwise.

What is the expected behavior?

Extra span element is not added, in my opinion - not needed.

What is the current behavior?

Additional element is added to the form, making it impossible to style the internals.
image

What are the steps to reproduce?

  1. http://plnkr.co/edit/dKYBn6NFpMbknwKbVfgP?p=preview
  2. hit F12
  3. hoover over the mat-option

What is the use-case or motivation for changing an existing behavior?

styling of the internals is very hard becuase of the extra span which is added

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 5.0.0-rc0-40d6bcb
the rest as per plunk example

Is there anything else we should know?

Nope, that's it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions