mirror of
https://github.com/mathuo/dockview
synced 2025-08-16 06:06:03 +00:00
feat: remove .stopPropagation()
This commit is contained in:
parent
11269c4625
commit
59aa2723fc
@ -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);
|
||||
})
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user