I can't seem to figure how to solve this problem that if you click a react-bootstrap button with a fontawesome icon as a child, the onclick
target value
will be undefined.
But if you click just outside the text with the icon and still inside the button, the onclick
handler will still work.