Skip to content

Commit

Permalink
toggle button for right of bottom container does not work or are brok…
Browse files Browse the repository at this point in the history
…en after small resize, see issue angular-ui#209

fix brought from stackoverflow answer http://stackoverflow.com/questions/34310279/angular-ui-layout-toggle-not-working
  • Loading branch information
Benoit Patra committed Mar 15, 2017
1 parent ccb16ac commit 1cb4e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ angular.module('ui.layout', [])
if(prevContainer) {
prevContainer.size += (c.uncollapsedSize + endDiff);
}

prevContainer.uncollapsedSize = null;
} else {
c.size = c.uncollapsedSize;

Expand Down

0 comments on commit 1cb4e76

Please sign in to comment.