Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

126
Vistas
ion-icon invisible inside ion-input and is not aligned correctly

So, I have a piece of ionic code in an angular app that looks like this:

            <ion-item>
                <ion-input class="text-input" type="text" disabled>
                    <ion-icon name="clipboard-outline" clear item-right
                        icon-only (click)="copy()">
                    </ion-icon>
                </ion-input>
            </ion-item>

However, two things happen:

  1. the clipboard icon does not show up, even though I can see the element when I inspect the code, and can also invoke the click function when I click on the space where it should be. So essentially the icon is invisible.

  2. in addition to the above the icon is positioned to the left of the ion-input text field which seems kind of bizarre as well since I have the item-right property inside ion-icon

Could anyone please help with this? I have also tried adding css classes to alter positioning the icon to the right but they do not work either. I am using Ionic version 6.0.7 and Angular version 13 Would be great if anyone could help with this. Thank you.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda