Skip to content

Commit

Permalink
fix(splitter): collapsed panes are not hidden in IE10
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev committed May 2, 2018
1 parent b8e45d4 commit d463f5f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions packages/default/scss/splitter/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,16 @@
flex: 0 0 auto;
}

.k-pane[hidden],
.k-pane-flex[hidden] {
// sass-lint:disable-block no-important
// hidden panes need to be zero-width to allow pane animation
flex-basis: 0 !important;
overflow: hidden !important;
display: block !important;
.k-pane,
.k-pane-flex {
&.k-state-hidden,
&[hidden] {
// sass-lint:disable-block no-important
// hidden panes need to be zero-width to allow pane animation
flex-basis: 0 !important;
overflow: hidden !important;
display: block !important;
}
}

&.k-splitter-horizontal {
Expand Down

0 comments on commit d463f5f

Please sign in to comment.