Skip to content

[bug?] using iOS and md, next icon not correct #699

@peterpeterparker

Description

@peterpeterparker

I use the ionicons in a PWA developed with Stencil One and Ionic One

When I use icons like the following:

<a onClick={(e: UIEvent) => this.openForDeckOrSlide(e)}>
    <ion-icon ios="md-color-fill" md="md-color-fill"></ion-icon>
</a>
<a onClick={() => this.deleteElement()}>
    <ion-icon ios="md-trash" md="md-trash"></ion-icon>
</a>

Then weirdly the icons aren't correctly displayed, I get two times the same icons (see screenshots)

Capture d’écran 2019-06-08 à 15 51 00

Capture d’écran 2019-06-08 à 15 51 02

When I don't use specific icon but property name like the following I don't face the problem

<a onClick={(e: UIEvent) => this.openForDeckOrSlide(e)}>
    <ion-icon name="color-fill"></ion-icon>
</a>
<a onClick={() => this.deleteElement()}>
    <ion-icon name="trash"></ion-icon>
</a>

Might be related to another issue I opened today

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions