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

v2 icon button in toolbar with ngIf has different style #7083

Closed
lordgreg opened this issue Jun 27, 2016 · 1 comment
Closed

v2 icon button in toolbar with ngIf has different style #7083

lordgreg opened this issue Jun 27, 2016 · 1 comment

Comments

@lordgreg
Copy link

lordgreg commented Jun 27, 2016

Short description of the problem:

As the title says, having a button with icon in toolbar has border, IF ngIf is also on the button. Without ngIf, there's also no additional styling. Please check Plunker url below

What behavior are you expecting?

The styling should be the same with ngIf or without ngIf

insert any relevant code between the above and below backticks
<ion-navbar *navbar>
  <ion-title>
    Ionic 2
  </ion-title>
    <ion-buttons start>
    <button 
      *ngIf="true">
      <ion-icon name="search"></ion-icon>
    </button>
    <button>
      <ion-icon name="more"></ion-icon>
    </button>
  </ion-buttons>
</ion-navbar>

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Which Ionic Version? 1.x or 2.x
Ionic 2 beta9

Plunker that shows an example of your issue

http://plnkr.co/edit/hjtb0kyl4Hu5jhLcDnz0?p=preview (open home.html)

Run ionic info from terminal/cmd prompt: (paste output below)

Your system information:

You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.2.0

Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.9
Ionic CLI Version: 2.0.0-beta.31
Ionic App Lib Version: 2.0.0-beta.17
OS:
Node Version: v5.9.1
@Ionitron Ionitron added the v2 label Jun 27, 2016
@jgw96
Copy link
Contributor

jgw96 commented Jun 27, 2016

Hello, thanks for opening an issue with us! We are actually already aware of this issue and are tracking it here, therefore i will be closing this one as a duplicate. Please feel free to put any comments or feedback for this bug on that issue. Thanks for using Ionic!

@jgw96 jgw96 closed this as completed Jun 27, 2016
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
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