If the attribute "split" changes its value from horizontal to vertical or vice-versa, the component changes its behavior but does not update the position attributes of the start and end containers, producing an inconsistent visual state.
This patch forces a call to _initPosition whenever "split" changes its value, and extends _initPosition so that it cleans up a potential previous state.
If the attribute "split" changes its value from horizontal to vertical or vice-versa, the component changes its behavior but does not update the position attributes of the start and end containers, producing an inconsistent visual state.
This patch forces a call to _initPosition whenever "split" changes its value, and extends _initPosition so that it cleans up a potential previous state.