Button only partially clickable error


I have a very strange error in which I can't figure out why the button is not clickable for the entire 'red area' of the button.

Attached below is the images of what happens.

<a href="https://i.stack.imgur.com/aPfcR.png" rel="nofollow"><img alt="Image clickable here" class="b-lazy" data-src="https://i.stack.imgur.com/aPfcR.png" data-original="https://i.stack.imgur.com/aPfcR.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

<a href="https://i.stack.imgur.com/v5knZ.png" rel="nofollow"><img alt="Image not clickable here" class="b-lazy" data-src="https://i.stack.imgur.com/v5knZ.png" data-original="https://i.stack.imgur.com/v5knZ.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

When I move to the D character in send it becomes immediately not clickable. Everything for that matter to the right of the D character is not clickable either in the entire red space.

The HTML for the entire form is below. This is done using React, so I included that code just in case it's related for some reason.

import React, { Component } from 'react'; import { FormGroup, FormControl, Button } from "react-bootstrap"; import MaskedFormControl from 'react-bootstrap-maskedinput' export default class defaultHomeForm extends Component { render(){ return( <form onSubmit={this.props.handleSubmit}> <FormGroup controlId="formName" validationState={this.props.formValidation("name")} className="quote-fields" > <FormControl type="text" name="name" placeholder="Name" className="form-field" onChange={this.props.setProperty} /> <FormControl.Feedback /> </FormGroup> <FormGroup controlId="formPhone" validationState={this.props.formValidation("phone")} className="quote-fields" > <MaskedFormControl type='text' name='phone' mask='(111)-111-1111 x11111' placeholder="Phone" className="form-field" onChange={this.props.setProperty} /> <FormControl.Feedback /> </FormGroup> <FormGroup controlId="formEmail" validationState={this.props.formValidation("email")} className="quote-fields" > <FormControl type="email" name="email" placeholder="Email" className="form-field" onChange={this.props.setProperty} /> <FormControl.Feedback /> </FormGroup> <FormGroup controlId="formAddress" validationState={this.props.formValidation("address")} className="quote-fields" > <FormControl type="text" name="address" placeholder="Address" className="form-field" onChange={this.props.setProperty} /> <FormControl.Feedback /> </FormGroup> <div className="send-btn"><Button type="submit"><div className="send-btn-text">Send <i className="fa fa-angle-right"></i><i className="fa fa-angle-right"></i></div></Button></div> </form> ); } }

<strong>Obviously CSS is the first place to look for these errors</strong> so I have attached the portion of my SCSS file that is relevant here.

%send-btn { padding: 5px; .send-btn-text{ background-color:red; } .btn { background: transparent; border: none; font-size: 25px; font-weight: 500; color: #fff; text-transform: uppercase; display: flex; align-items: center; &:hover{ color: #1899d1; } i { &:first-child { padding-left: 5px; } } } } %quote-fields { padding: 0px 15px 10px; margin: 0px; .form-field { background: transparent; padding: 12px; height: 43px; margin-bottom: 12px; color: #ffffff; border-radius: 2px; border: 1px solid #dcdcdc78; } }

If I'm missing any other SCSS/CSS you need to see let me know and I'll upload right away.

<strong>Things I have tried:</strong>

I have tried changing <strong>display to inline-block instead of flex</strong>, didn't work. <strong>I have tried adding a width to the control</strong> and still no go.

I'm not sure what is causing this strange effect. Any ideas are welcome and I'll try them right away.

I have also tried messing with the inspector to just change CSS properties on the fly (live) to see if I can get the area clickable somehow, still no luck.

I should mention I'm testing on a Mac using Google Chrome Version 67.0.3396.87

Attached is an image from the inspector showing the DIV should be just fine in theory.

<a href="https://i.stack.imgur.com/dPuhE.jpg" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/dPuhE.jpg" data-original="https://i.stack.imgur.com/dPuhE.jpg" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>


Ok turns out I figured it out, thanks to the answer here: <a href="https://stackoverflow.com/questions/35803858/only-the-left-half-of-the-button-is-clickable-in-ie" rel="nofollow">Only the left half of the button is clickable in IE</a>

The image of the pool cleaner in my design was getting in the way because it was positioned absolutely.

By adding the CSS to that element pointer-events: none;

it fixed the issue.


  • A few IBOutlets pointing to nil
  • Suspend the application
  • Get value of selected drop down list item
  • What are the best practices for having git clean history?
  • Why dsofile.dll still need Office Installation?
  • How to upload excel file in angular js?
  • Where and How To Define An Application Property? - JHIpster
  • Replace Node Name
  • Html select multiple get all values at onchange event
  • Could be Text orientation of JTextArea changed by keyboard shortcut?
  • Different results when setting/getting System properties with GStrings in Groovy
  • How to prepare a C++ string for sql query
  • PyYaml parses '9:00' as int
  • XSD assert not recognised
  • Angular - How to access and replace innerHTML from a directive
  • how to remove a div with same ids but display='block' and display='none' in JAVa
  • Yii2: Using Kartik Depdrop Widget?
  • getelement by class name for clicking
  • How to Add Polymorphic Comments to Feed?
  • Is looping through all style sheets and classes a good idea in JavaScript?
  • Xaml, wpf image position and crop issue
  • How to log in to an HTTPS website with Jsoup?
  • Getting different value with placeholder over CPU/GPU
  • Validate child input components on submit with Vee-Validate and vue js 2
  • How can I send an e-mail from a vbs script
  • Sails.js/waterline: Executing waterline queries in toJSON function of a model?
  • Retrieving value from sql ExecuteScalar()
  • Can Jackson SerializationFeature be overridden per field or class?
  • MySQL WHERE-condition in procedure ignored
  • Web-crawler for facebook in python
  • KeystoneJS: Relationships in Admin UI not updating
  • trying to dynamically update Highchart column chart but series undefined
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Hits per day in Google Big Query
  • how does django model after text[] in postgresql [duplicate]
  • How do I configure my settings file to work with unit tests?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Checking variable from a different class in C#
  • Binding checkboxes to object values in AngularJs
  • java string with new operator and a literal