Closed cpa-level-it closed 7 years ago
Thanks for spotting this. I have updated & create a new release (1.0.6) fixing this.
I have altered it from you implementation to return false
which I believe is the angular way of preventing the event from bubbling up;
@HostListener('mousedown', ['$event'])
onMousedown(event) {
this.notifyWillChangeSize.emit(true);
return false;
}
There is a bug where you can select text on the
split-pane-content-primary
orsplit-pane-content-secondary
element while dragging.I can reproduce the bug with Firefox but not with Chrome.
To avoid this, I think you should stop the mousedown event for bubbling while dragging.
In
split-pane-separator.component.ts
:This seems to fix the bug.