Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

133
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda