Skip to content

Ionic 4.0.0-rc.0 segment indicator not showing up #16820

Closed

Description

@brandyscarney

Bug Report

Ionic version:
4.0.0-rc.0

Current behavior:
Segment indicator is not showing up when theming with the global CSS variables

Related code:

<ion-toolbar class="themed">
  <ion-segment value="delete">
    <ion-segment-button value="create">
      <ion-label>Create</ion-label>
      <ion-icon name="create"></ion-icon>
    </ion-segment-button>
    <ion-segment-button value="delete">
      <ion-label>Delete</ion-label>
      <ion-icon name="trash"></ion-icon>
    </ion-segment-button>
    <ion-segment-button value="upload">
      <ion-label>Upload</ion-label>
      <ion-icon name="cloud-upload"></ion-icon>
    </ion-segment-button>
  </ion-segment>
</ion-toolbar>
.themed {
  --ion-toolbar-background: #3880ff;
  --ion-toolbar-color: #fff;
  --ion-toolbar-color-activated: #fff;
  --ion-toolbar-color-unchecked: rgba(255, 255, 255, .6);
  --ion-toolbar-color-checked: #fff;
}

This applies to the conference app

Activity

  1. added
    type: bug
    on Dec 19, 2018
  2. added a commit that references this issue on Dec 19, 2018
    b214bf3
  3. added a commit that references this issue on Dec 19, 2018
    74587db
  4. ionitron-bot commented on Jan 18, 2019

    @ionitron-bot

    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.

  5. locked and limited conversation to collaborators on Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

package: coretype: bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions