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

ion-icon shows both ios and material icons #472

Closed
cleversolutions opened this issue Apr 17, 2018 · 3 comments
Closed

ion-icon shows both ios and material icons #472

cleversolutions opened this issue Apr 17, 2018 · 3 comments

Comments

@cleversolutions
Copy link

Including https://unpkg.com/@ionic/pwa-elements@0.0.11/dist/ionicpwaelements.js in index.html causes ion-icon to render two icons stacked on top of the other when using ionic serve.

You can reproduce by adding to any page (ie camera) in the example project.

It seems to be picking up both the current (css :before) and future (svg image) implementations for the icons. It's easy to work around it. I've just added this to my app.scss file

.icon-inner{
    display: none;
}
@lolaswift
Copy link

@cleversolutions Thx for the workaround Evan. I had the same issue.

@ghost
Copy link

ghost commented Apr 17, 2018

I would recommend using Google's material icons as a temporary replacement.
material.io/icons/

@jcesarmobile
Copy link
Member

Updating to ionic pwa elements 1.0.0 fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants