Only handle click event on input element.