feat: remove .stopPropagation()

This commit is contained in:
mathuo 2023-07-16 19:36:35 +01:00
parent 11269c4625
commit 59aa2723fc
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -80,14 +80,6 @@ export class Tab extends CompositeDisposable implements ITab {
return;
}
/**
* TODO: alternative to stopPropagation
*
* I need to stop the event propagation here since otherwise it'll be intercepted by event handlers
* on the tabs-container. I cannot use event.preventDefault() since I need the on DragStart event to occur
*/
event.stopPropagation();
this._onChanged.fire(event);
})
);