Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button icon #1000

Closed
ghost opened this issue Aug 11, 2016 · 5 comments
Closed

Button icon #1000

ghost opened this issue Aug 11, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Aug 11, 2016

Hi,
Today I created a new angular 2 app, using material, with all the latest versions: ang2 RC5 (with this new NgModule) and material components alpha.7-2, and I have this strange behavior... Everything works but, when I click the button on my navbar, this wierd, almost transparent area around that button appears, and it gets larger with every new click, and it is also clickable, like it is a part of the button. I can not understand what this is, and why it appears after click. Before I click the button, it is not there. ... And there is no Plunker for this, because it only implements RC4, and I'm using RC5.

Here is the navbar html:

<md-sidenav-layout fullscreen>
  <md-sidenav #sidenav>
    <md-toolbar color="primary">
      <button md-icon-button (click)="sidenav.close()">
        <md-icon>chevron_left</md-icon>
      </button>
      <h3 class="title">Menu</h3>
    </md-toolbar>
    <md-list>
      <a md-list-item *ngFor="let view of views"
         (click)="sidenav.close()">
        <md-icon md-list-icon>{{view.icon}}</md-icon>
        <span md-line>{{view.name}}</span>
        <span md-line>{{view.description}}</span>
      </a>
    </md-list>
  </md-sidenav>
  <md-toolbar color="primary" fullscreen>
    <button md-icon-button (click)="sidenav.open()">
      <md-icon>menu</md-icon>
    </button>
    <h3 class="title">My App</h3>
  </md-toolbar>
  <router-outlet></router-outlet>
</md-sidenav-layout>

And here is how I see the page and that strange something:
01

Tnx

@fxck
Copy link
Contributor

fxck commented Aug 11, 2016

see #972 + 61027e9

@ghost
Copy link
Author

ghost commented Aug 11, 2016

... Adding core.css and/or overlay.css did not solve the problem for me.

@ghost
Copy link
Author

ghost commented Aug 11, 2016

My bad, core.css did solve it. ... I made typo in <link... core.css" >
It's OK now.
Tnx @fxck

@trainerbill
Copy link

I am having a similar issue. Is there a plunker template for alpha7 that I can try and reproduce? I have a button/icon in a toolbar:

<md-toolbar color="primary">
  <button md-mini-fab (click)="leftNavToggle()">
    <md-icon>menu</md-icon>
  </button>
  <span>{{header}}</span>
</md-toolbar>

Everything is good on render:
image

After clicking the button I get an overlay that stays and is clickable:

image

I have included core.css and overlay.css

image
image

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
alexeagle pushed a commit to alexeagle/material2 that referenced this issue Nov 6, 2024
- update `@angular-eslint` packages
- fix dns-packet and a number of other vulnerabilities
- from: 104 vulnerabilities found - Severity: 1 Low | 90 Moderate | 13 High
- to: 34 vulnerabilities found - Severity: 1 Low | 24 Moderate | 9 High

Closes angular#1000
alexeagle pushed a commit to alexeagle/material2 that referenced this issue Dec 12, 2024
- update `@angular-eslint` packages
- fix dns-packet and a number of other vulnerabilities
- from: 104 vulnerabilities found - Severity: 1 Low | 90 Moderate | 13 High
- to: 34 vulnerabilities found - Severity: 1 Low | 24 Moderate | 9 High

Closes angular#1000
alexeagle pushed a commit to alexeagle/material2 that referenced this issue Dec 16, 2024
- update `@angular-eslint` packages
- fix dns-packet and a number of other vulnerabilities
- from: 104 vulnerabilities found - Severity: 1 Low | 90 Moderate | 13 High
- to: 34 vulnerabilities found - Severity: 1 Low | 24 Moderate | 9 High

Closes angular#1000
alexeagle pushed a commit to alexeagle/material2 that referenced this issue Dec 18, 2024
- update `@angular-eslint` packages
- fix dns-packet and a number of other vulnerabilities
- from: 104 vulnerabilities found - Severity: 1 Low | 90 Moderate | 13 High
- to: 34 vulnerabilities found - Severity: 1 Low | 24 Moderate | 9 High

Closes angular#1000
josephperrott pushed a commit that referenced this issue Dec 18, 2024
- update `@angular-eslint` packages
- fix dns-packet and a number of other vulnerabilities
- from: 104 vulnerabilities found - Severity: 1 Low | 90 Moderate | 13 High
- to: 34 vulnerabilities found - Severity: 1 Low | 24 Moderate | 9 High

Closes #1000
alexeagle pushed a commit to alexeagle/material2 that referenced this issue Dec 18, 2024
- update `@angular-eslint` packages
- fix dns-packet and a number of other vulnerabilities
- from: 104 vulnerabilities found - Severity: 1 Low | 90 Moderate | 13 High
- to: 34 vulnerabilities found - Severity: 1 Low | 24 Moderate | 9 High

Closes angular#1000
kseamon pushed a commit to kseamon/material2 that referenced this issue Dec 18, 2024
- update `@angular-eslint` packages
- fix dns-packet and a number of other vulnerabilities
- from: 104 vulnerabilities found - Severity: 1 Low | 90 Moderate | 13 High
- to: 34 vulnerabilities found - Severity: 1 Low | 24 Moderate | 9 High

Closes angular#1000
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants