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

163
Vistas
strange issue in css in react component

I have one div component in react. it is used to display serchable dropdown in react.

enter image description here

if there is extension in the browser it is coming over the component. like you can see icon above the component. when I inspected this component it is coming like below.one image is getting inserted inside the div.

enter image description here

when I am testing in another browser where , there is no extension it is not coming like that. it is proper.

enter image description here

how can I prevent my div tag to insert image automatically?

this icon keeps moving when I type the text.

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

This is the icon that comes from LastPass extension.

And icon apears on input tag (in your case, react-select has input tag in value container)

If you want to hide from your site for all users, you can add following CSS style

img[id^=__lpform_][id$=_icon]{
  display: none;
}

If you want to remove the node from html, you can add following JS snippet.

    var lastPassInterval;

    lastPassInterval=setInterval(()=>{
       document.querySelectorAll("[id^=__lpform_] [id$=_icon]")
       .forEach(el=>{ el.remove(); clearInterval(lastPassInterval)})
    },500)

Above code snippet will find all these img tags with matching IDs, and remove it from html.

Another way

In react-select on Input Component you need to pass data-lpignore="true", It will prevent LastPass from displaying icons in input. Check below answer for more info.

https://stackoverflow.com/a/53089923/14614051

about 4 years ago · Juan Pablo Isaza Denunciar
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