Revert "Revert "Stop the propagation of the click event to prevent the parent handlers""

This reverts commit e1f2670544afd1f0440a4972d2e70d1e6feca9ad.