Skip to content

Commit

Permalink
Made Foundset List 100% if no responsive height is set, but responsiv…
Browse files Browse the repository at this point in the history
…eDynamicHeight is true
  • Loading branch information
pruhsert committed Dec 16, 2019
1 parent 6db813e commit 4274ab9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions customrenderedcomponents/foundsetlist/foundsetlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,8 @@ angular.module('customrenderedcomponentsFoundsetlist', ['servoy'])
if ($scope.$parent.absoluteLayout) {
} else {
layoutStyle.position = "relative";
if ($scope.model.responsiveDynamicHeight) {
if ($scope.model.responsiveHeight > 0) {
if ($scope.model.responsiveDynamicHeight && $scope.model.responsiveHeight > 0) {
layoutStyle.maxHeight = $scope.model.responsiveHeight + "px";
}
} else {
if ($scope.model.responsiveHeight === 0) {
$element.css("height", "100%");
Expand Down

0 comments on commit 4274ab9

Please sign in to comment.