Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!