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

no-shadow broken in nightly 2.0.0-rc.3-201612021933 #9480

Closed
gigocabrera opened this issue Dec 3, 2016 · 7 comments
Closed

no-shadow broken in nightly 2.0.0-rc.3-201612021933 #9480

gigocabrera opened this issue Dec 3, 2016 · 7 comments
Assignees
Milestone

Comments

@gigocabrera
Copy link

Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request

Current behavior:

The no-shadow attribute no longer works in RC3 nightly (2.0.0-rc.3-201612021933)

<ion-header no-shadow>
  <ion-navbar>
    <ion-buttons end *ngIf="showSkip">
      <button ion-button (click)="startApp()">Skip</button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

Ionic info:

Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3-201612021933
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.46
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.7.0
Xcode version: Not installed
@manucorporat
Copy link
Contributor

Please, can you describe the issue better?

What do you expect? and what is actually happening? also, or screenshot or something

Thanks

@gigocabrera
Copy link
Author

Here are 2 screenshots both using the same markup. Please notice the line below "Skip" on the right

<ion-header no-shadow>
  <ion-navbar>
    <ion-buttons end *ngIf="showSkip">
      <button ion-button (click)="startApp()" color="primary">Skip</button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

The image on the left is using = "ionic-angular": "2.0.0-rc.3-201611211919",
the right one is using = "ionic-angular": "2.0.0-rc.3-201612021933",

issue_9480

@brandyscarney
Copy link
Member

Hey there, no-shadow has only ever affected md mode. The ios header has never had a box-shadow. The border was moved from the toolbar to the header, so adding no-border for ios would remove it. I'm wondering if there is an attribute we should use that targets both of them.

@jgw96 jgw96 added the css label Dec 5, 2016
@gigocabrera
Copy link
Author

Hi @brandyscarney, that is very strange because both screenshots from above were taken on a Chrome browser in iOS mode. But thanks for the no-border tip. I'll use that!

@gigocabrera
Copy link
Author

@brandyscarney I am recopening this issue since none of those options work in iOS mode when using Chrome or device

<ion-header no-shadow>
  <ion-navbar>
    <ion-buttons end *ngIf="showSkip">
      <button ion-button (click)="startApp()" color="primary">Skip</button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

<ion-header no-border>
  <ion-navbar>
    <ion-buttons end *ngIf="showSkip">
      <button ion-button (click)="startApp()" color="primary">Skip</button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

@gigocabrera gigocabrera reopened this Dec 6, 2016
@brandyscarney brandyscarney self-assigned this Dec 7, 2016
@brandyscarney brandyscarney added this to the 2.0.0-rc.4 milestone Dec 7, 2016
@brandyscarney
Copy link
Member

Thanks @gigocabrera! This will be fixed in the rc.4 release, and I've also released a nightly if you want to use it sooner:

npm install --save ionic-angular@nightly

Just so you know - I renamed the no-shadow attribute to no-border since it seems confusing to have 2 different attributes that visually do the same thing. Let me know if you find any issues. :)

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 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

4 participants