Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

chips: remove icon is larger in 1.1.0 vs 1.0.9 #9619

Closed

Description

@ddimitrop

Actual Behavior:

  • What is the issue? *
    The remove icons for md-chips are 24px in the 1.1 version. They used to be 18px.
    The change was not intentional but due to the min-width, min-height properties that have now been added in md-icon.
    All references to md-icon in the code (where they override width and height) need to be fixed.
  • What is the expected behavior?
    The remove icons should be 18px. This is what this code is trying to do:
    https://github.com/angular/material/blob/master/src/components/chips/chips.scss#L130
    This needs to include now:
    min-height: $chip-delete-icon-size;
    min-width: $chip-delete-icon-size;

I believe that the same problem may be happening in other places like here:

width: $list-item-dense-primary-icon-width;

CodePen (or steps to reproduce the issue): *

Angular Versions: *

  • Angular Version: 1.5.5
  • `Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: Chrome
  • `Browser Version: 53
  • `OS: Linux
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Activity

  1. added
    P1: urgent
    and removed on Jan 24, 2017
  2. added this to the 1.1.3 milestone on Jan 24, 2017
  3. modified the milestones: 1.1.3, 1.1.4 on Feb 4, 2017
  4. batsauto commented on Mar 13, 2017

    @batsauto
    Contributor

    here is my pull request to fix this issue.
    #10491

  5. added
    has: Pull Request
    on Mar 20, 2017
  6. modified the milestones: 1.1.4, 1.1.5 on May 7, 2017
  7. 18 remaining items

  8. Splaktar commented on Jan 22, 2018

    @Splaktar
    Contributor

    This breaking CSS change was part of the 1.1.0 minor release as the CSS is changed from what was in 1.0.9. As this was a minor release, breaking CSS changes like this were acceptable. Additionally, we'll need to wait for another minor release (1.2.0) before this can be fixed since it is a breaking visual change via CSS.

  9. modified the milestones: 1.1.7, Future on Jan 22, 2018
  10. modified the milestones: Future, 1.2.0 on Jan 29, 2018
  11. added
    P2: required
    and removed
    P1: urgent
    on Feb 13, 2019
  12. changed the title [-]md-chips: remove icon is larger in 1.1.0 vs 1.0.9[/-] [+]chips: remove icon is larger in 1.1.0 vs 1.0.9[/+] on Feb 13, 2019
  13. added
    type: spec alignment
    on Feb 13, 2019
  14. added a commit that references this issue on Sep 28, 2024
    29c0a4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

- Breaking ChangeP2: requiredhas: Pull Requestresolution: fixedseverity: regressiontype: bugtype: spec alignment

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions