Skip to content

bug: color attribute doesn't work on ion-breadcrumbs in Vue #25446

Closed

Description

@averyrousseau

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

Setting the color attribute on ion-breadcrumbs in Vue results in the attribute being missing from the final render. This means the inner ion-breadcrumb elements don't detect the color applied to the outer element, so the text color isn't changed. This only happens in Vue.

The color attribute does work on ion-breadcrumb, although setting it on each breadcrumb individually doesn't change the text color of the separators. (This can be fixed manually via the separator slot, though.)

Expected Behavior

Setting color on ion-breadcrumbs should change the text color of both the inner breadcrumb items and the separators.

Steps to Reproduce

https://stackblitz.com/edit/angular-u4ynrz?file=src%2Fcomponents%2FExample.vue

Code Reproduction URL

https://stackblitz.com/edit/angular-u4ynrz?file=src%2Fcomponents%2FExample.vue

Ionic Info

N/A (see Stackblitz for setup)

Additional Information

No response

Activity

  1. added
    package: vue
    type: bug
    on Jun 9, 2022
  2. ionitron-bot commented on Apr 29, 2023

    @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.

  3. locked and limited conversation to collaborators on Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: vuetype: 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