angular-split-pane
angular-split-pane copied to clipboard
Programattically setting splitPaneProperties.firstComponentSize does not update the splitPaneProperties.lastComponentSize (and vice versa)
I programmatically minimise one pane (set to zero), but the splitPaneProperties are only half-updated.
e.g. If I $watch('splitPaneProperties')
On page load:
{firstComponentSize: 420, lastComponentSize: 471}
Set 2nd pane to zero:
{firstComponentSize: 420, lastComponentSize: 0}
If I modify the logic of the splitpaneresize listener in angular-split-pane.js, I can get:
{firstComponentSize: 891, lastComponentSize: 0}