Reputation: 2124
I have a button with no other styling than that provided by Bootstrap
<button class="btn btn-primary"
ng-disabled = "svc.selectDisabled"
ng-click="svc.chooseSelected()">Auswählen</button>
The click event only fires on the upper half of the button surface as indicated by the cursor hover.
Any ideas how to fix this?
Upvotes: 0
Views: 481
Reputation: 22493
open dev tools and hove the button to see the area that is taken up by the button itself. like the diagram below.
or use the select element button (in the red square)
and hover over the button. this will let you see if something is over the top of it.
If something is over the top then you need to set relative and give it a z-index. Or better, make sure to trim off things you don't need.
Upvotes: 2