@elastic/eui 97.0.0-backport.2 → 97.0.0-backport.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,7 +104,7 @@ export var useUnconstrainedHeight = function useUnconstrainedHeight(_ref2) {
104
104
 
105
105
  // lookup the height configuration of this row
106
106
  var rowHeightOption = rowHeightUtils.getRowHeightOption(correctRowIndex, rowHeightsOptions);
107
- if (rowHeightOption) {
107
+ if (rowHeightOption && rowHeightOption !== 'auto') {
108
108
  // this row's height is known
109
109
  knownRowCount++;
110
110
  knownHeight += rowHeightUtils.getCalculatedHeight(rowHeightOption, defaultRowHeight, correctRowIndex, rowHeightUtils.isRowHeightOverride(correctRowIndex, rowHeightsOptions));
@@ -108,7 +108,7 @@ var useUnconstrainedHeight = exports.useUnconstrainedHeight = function useUncons
108
108
 
109
109
  // lookup the height configuration of this row
110
110
  var rowHeightOption = rowHeightUtils.getRowHeightOption(correctRowIndex, rowHeightsOptions);
111
- if (rowHeightOption) {
111
+ if (rowHeightOption && rowHeightOption !== 'auto') {
112
112
  // this row's height is known
113
113
  knownRowCount++;
114
114
  knownHeight += rowHeightUtils.getCalculatedHeight(rowHeightOption, defaultRowHeight, correctRowIndex, rowHeightUtils.isRowHeightOverride(correctRowIndex, rowHeightsOptions));
@@ -99,7 +99,7 @@ export var useUnconstrainedHeight = function useUnconstrainedHeight(_ref2) {
99
99
 
100
100
  // lookup the height configuration of this row
101
101
  var rowHeightOption = rowHeightUtils.getRowHeightOption(correctRowIndex, rowHeightsOptions);
102
- if (rowHeightOption) {
102
+ if (rowHeightOption && rowHeightOption !== 'auto') {
103
103
  // this row's height is known
104
104
  knownRowCount++;
105
105
  knownHeight += rowHeightUtils.getCalculatedHeight(rowHeightOption, defaultRowHeight, correctRowIndex, rowHeightUtils.isRowHeightOverride(correctRowIndex, rowHeightsOptions));
@@ -106,7 +106,7 @@ var useUnconstrainedHeight = exports.useUnconstrainedHeight = function useUncons
106
106
 
107
107
  // lookup the height configuration of this row
108
108
  var rowHeightOption = rowHeightUtils.getRowHeightOption(correctRowIndex, rowHeightsOptions);
109
- if (rowHeightOption) {
109
+ if (rowHeightOption && rowHeightOption !== 'auto') {
110
110
  // this row's height is known
111
111
  knownRowCount++;
112
112
  knownHeight += rowHeightUtils.getCalculatedHeight(rowHeightOption, defaultRowHeight, correctRowIndex, rowHeightUtils.isRowHeightOverride(correctRowIndex, rowHeightsOptions));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/eui",
3
3
  "description": "Elastic UI Component Library",
4
- "version": "97.0.0-backport.2",
4
+ "version": "97.0.0-backport.3",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -106,7 +106,7 @@ var useUnconstrainedHeight = exports.useUnconstrainedHeight = function useUncons
106
106
 
107
107
  // lookup the height configuration of this row
108
108
  var rowHeightOption = rowHeightUtils.getRowHeightOption(correctRowIndex, rowHeightsOptions);
109
- if (rowHeightOption) {
109
+ if (rowHeightOption && rowHeightOption !== 'auto') {
110
110
  // this row's height is known
111
111
  knownRowCount++;
112
112
  knownHeight += rowHeightUtils.getCalculatedHeight(rowHeightOption, defaultRowHeight, correctRowIndex, rowHeightUtils.isRowHeightOverride(correctRowIndex, rowHeightsOptions));