Re:Why, oh why was this added?
by wruza on Saturday May 28, 2022 @11:07AM
(#31540885)
I agree with your reasoning mostly, and can remember situations when I wanted to make an event shoot through a finished element but couldn’t, at least not easily (it wasn’t web). But I think that it wasn’t a great idea either to make it the default and burden a programmer with this decision in each handler. The current way of doing it is pretty error-prone and bloats each handler with checks which are otherwise mostly pointless or tedious. This incentivizes non-experts to omit that part and just cargo in stopPropagation() calls anyway.
[ Parent
| on HN ]
There are no comments on this comment yet.