Skip to content

Programattically setting splitPaneProperties.firstComponentSize does not update the splitPaneProperties.lastComponentSize (and vice versa) #17

Description

@superbazza

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}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions