This PR should allow stacking panes inside of each other.
Therefor it's necessary, that we ignore mousedown events on multipane-resizers if those resizers are not immediate children of the event-handling multipane component. The easiest way to do this is to check the direct parent of the event target. If that element is not the current multipane component's $el, then we just abort further event handling.
This PR should allow stacking panes inside of each other.
Therefor it's necessary, that we ignore
mousedown
events onmultipane-resizer
s if those resizers are not immediate children of the event-handlingmultipane
component. The easiest way to do this is to check the direct parent of the event target. If that element is not the currentmultipane
component's$el
, then we just abort further event handling.