ionic-team / ionic-team/ionicons

feat: configure whether or not to lazy load

Abierto
#925 1 comentario 0 reacciones 0 asignados Ver en GitHub
help wanted type: feature request
Lenguaje dominante
TypeScript
Estrellas
18.2k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm using an `ion-icon` in a dropdown interface, where a user has to click an element to show the dropdown's content. Because of how ionicons is implemented, the icons inside the dropdown are not loaded instantly because the request is performed when it is visible to the user.

This, of course, is not ideal, as it shows a flicker while the icons are not downloaded. Just like what happens when you set a `background-image` to an element in its `:hover` state.

Is there any way to force the load of invisible icons?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.