Skip to content

Commit

Permalink
https://github.com/AndreiMisiukevich/ExpandableView/issues/7
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiMisiukevich committed Dec 19, 2018
1 parent 52e2f55 commit c157ffa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ExpandableView/ExpandableView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ private void OnIsExpandedChanged()
_lastVisibleHeight = _startHeight = SecondaryViewHeightRequest >= 0
? SecondaryViewHeightRequest
: !isExpanding
? SecondaryView.Height
? SecondaryView.Height - (SecondaryView is Layout<View> l //https://github.com/AndreiMisiukevich/ExpandableView/issues/7
? l.Padding.Top + l.Padding.Bottom
: 0)
: _lastVisibleHeight;
_endHeight = 0;
}
Expand Down

0 comments on commit c157ffa

Please sign in to comment.