Description
When using the virtualized prop in a SelectPanel I had to supress warning messages in my test suit.
The built-in virtualized SelectPanel example logs the following warning in the browser console:
FilteredActionList-fPBBbgAg.js:5 Missing attribute name 'data-index={index}' on measured element.
This appears to indicate that the element being measured for virtualization is missing the data-index={index} attribute expected by the virtualizer.
Reproduction
- Open the virtualized built-in SelectPanel Storybook example.
- Open the browser developer console.
- Interact with or scroll the SelectPanel.
- Observe the warning.
Expected behavior
The virtualized SelectPanel renders and measures its items without logging a missing data-index warning.
Actual behavior
The console reports that the measured element is missing data-index={index}.
Description
When using the virtualized prop in a SelectPanel I had to supress warning messages in my test suit.
The built-in virtualized
SelectPanelexample logs the following warning in the browser console:This appears to indicate that the element being measured for virtualization is missing the
data-index={index}attribute expected by the virtualizer.Reproduction
Expected behavior
The virtualized SelectPanel renders and measures its items without logging a missing
data-indexwarning.Actual behavior
The console reports that the measured element is missing
data-index={index}.