ionic-team / ionicons

Premium hand-crafted icons built by Ionic, for Ionic apps and web apps everywhere 🌎
http://ionicons.com
MIT License
17.53k stars 2.06k forks source link

bug: Ionic 5.01, Android 6.0, Chrome 44, Icon can't be rendered correctly. #790

Closed netsesame2 closed 9 months ago

netsesame2 commented 4 years ago

Works in Ionic 4.4. Not in ionic 5.01.

HTML code:

<div class="rbuttons">
    <div class="rbutton" routerLink="/photo">
        <div class="rbutton-in">
            <ion-icon name="desktop-outline" large></ion-icon>
            <ion-ripple-effect></ion-ripple-effect>
        </div>
    </div>
    <div class="rbutton">
        <div class="rbutton-in">
            <ion-icon name="camera-outline" large></ion-icon>
            <ion-ripple-effect></ion-ripple-effect>
        </div>
   </div>
</div>

SCSS code:

.rbuttons {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    justify-content: center;

    .rbutton {
        padding: 0 40px;
        text-align: center;
        .rbutton-in {
            display: flex;
            background: #fff;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            border: 4px solid #e4dfdf;
            justify-content: center;
            align-items: center;
            margin-bottom: 5px;
            ion-icon {
                font-size: 40px;
                color: #e97723;
            }
        }
    }
}

It render as:

QQ20200224-233843@2x

It should be:

QQ20200224-234317@2x

Envoirement: Ionic: Ionic CLI : 6.1.0 Ionic Framework : @ionic/angular 5.0.1 @angular-devkit/build-angular : 0.900.3 @angular-devkit/schematics : 9.0.3 @angular/cli : 9.0.3 @ionic/angular-toolkit : 2.1.2

Capacitor: Capacitor CLI : 1.5.0 @capacitor/core : 1.5.0

Android in Emulator: Andriod 6.0 Chrome: 44.0.2403.119

QQ20200224-234923@2x
liamdebeasi commented 4 years ago

Thanks for the issue. I transferred this to the Ionicons repository. I was able to reproduce this issue in a blank Capacitor app without Ionic Framework:

<ion-icon name="desktop-outline" large></ion-icon>
<ion-icon name="camera-outline" large></ion-icon>
netsesame2 commented 4 years ago

Thanks for your rapid reply. In fact, there are many other icons have the same issues in above test, like:

<ion-icon name="information-circle-outline" color="primary">

Hope it can help.

sverdlov commented 4 years ago

Hi. Any progress?

HealthyPizza commented 4 years ago

Same issue in with android 7.0 `

` Ionic CLI : 6.9.3 Ionic Framework : @ionic/angular 5.1.0
netsesame2 commented 4 years ago

@liamdebeasi any results?

liamdebeasi commented 9 months ago

Hi there,

Apologies for the delay. Ionicons no longer supports the noted version of Chrome, so I am going to close this.