Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vertical-collection/addon/-private/data-view/radar/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ export default class Radar {
const maxHeightStyle =
window.getComputedStyle(_scrollContainer).maxHeight;

if (maxHeightStyle !== 'none') {
if (maxHeightStyle && maxHeightStyle !== 'none') {
scrollContainerMaxHeight = estimateElementHeight(
_scrollContainer.parentElement,
maxHeightStyle,
Expand All @@ -419,7 +419,7 @@ export default class Radar {
}

const calculatedEstimateHeight =
typeof estimateHeight === 'string'
typeof estimateHeight === 'string' && estimateHeight
? estimateElementHeight(_itemContainer, estimateHeight)
: estimateHeight;

Expand Down