I use both methods when I want to finish handling the event. Something like the comsume() method in Swing. And always put the challenges of these methods together. Is there a difference between preventDefault() and stopPropagation() ?
The documentation says that
stopPropagationStops the propagation of a base native event.
preventDefaultPrevents the default action of a base native event.
Something like this. But it does not bring clarity.