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

141
Vistas
Is there any Issue using <Buttons> inside of <Row><Col>s?

This is not the first time I've encountered an issue almost exactly like this, wherein I have a react-bootstrap <Button> inside of a react-bootstrap <Col> inside of a `' and that button will simply not be clickable. Earlier, I was able to circumvent this by removing the from the it was in, into something less nested, but this time that does not seem to be a viable option. My code looks as follows...

<div style={{borderColor: "grey", borderWidth: .5, border: 'solid'}}>
      <Row>
          <Col sm={10}>
              <input type='text' onChange={(event) => handleTextChange(event.target.value)} value={typedMessage} style={{width: '100%', height: '100%'}}/>
          </Col>
       <Col sm={2}>
          <Button style={{width: '100%', marginLeft: 0}} onClick={() => handleSendMessage()}>
             Send
          </Button>
       </Col>
     </Row>
</div>

Where right now, handleSendMessage() just has a console.log("Hit send") inside of it. When I hover over the button, it has the finger pointer, yet when I click there is no shading / opacity animation like there usually is, and no console.log statement. Does anyone have any ideas how to correct this?

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

0

I don't know how your handleSendMessage looks like exactly, but I copy/pasted your code and run it - it works:

https://codesandbox.io/s/funny-fog-3ccjr1

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