`maxHeight = Math.max(minHeight, inputMinHeight);`