Skip to content

ion-searchbar attribute "color" does not work under certain conditions on iOS #17186

Closed

Description

@robingenz

Bug Report

Ionic version:

[x] 4.x

Current behavior:

The color attribute of the ion-searchbar component no longer works in iOS mode if ion-searchbar is child of ion-toolbar and ion-toolbar has also set the color attribute.

Expected behavior:

The color attribute should change the color of ion-searchbar.

Steps to reproduce:

Create an ion-toolbar with ion-searchbar inside it and add the color attribute to both elements.

Related code:

<ion-toolbar color="primary">
    <ion-searchbar color="light"></ion-searchbar>
</ion-toolbar>

Example: https://github.com/robingenz/ionic-issue-17186-example

Other information:

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.8.0 (C:\Users\robin.genz\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.0.0-rc.1
   @angular-devkit/build-angular : 0.11.4
   @angular-devkit/schematics    : 7.1.4
   @angular/cli                  : 7.1.4
   @ionic/angular-toolkit        : 1.2.2

System:

   NodeJS : v10.15.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.5.0
   OS     : Windows 10

Activity

  1. changed the title [-]ion-searchbar attribute "color" no longer works under certain conditions on iOS[/-] [+]ion-searchbar attribute "color" does not work under certain conditions on iOS[/+] on Jan 21, 2019
  2. brandyscarney commented on Feb 8, 2019

    @brandyscarney
    Member
  3. added
    type: bug
    and removed on Feb 8, 2019
  4. self-assigned this
    on Feb 12, 2019
  5. liamdebeasi commented on Feb 14, 2019

    @liamdebeasi
    Contributor

    Resolved via #17474

  6. ionitron-bot commented on Mar 16, 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.

  7. locked and limited conversation to collaborators on Mar 16, 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