spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: the sp-grid renderItem callback sometimes passes undefined
trafficstars
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
sp-grid
Expected behavior
If sp-grid items are all defined, renderItem is never called with an undefined value.
Actual behavior
Received a bug report that, with an Array of items where every item is defined, the renderItem callback is sometimes passed an undefined value.
Screenshots
No response
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
- Go to '...'
- Click on '....'
- Scroll to '....'
- Check console
- See error
Sample code that illustrates the problem
This needs a minimal reproduction in order for us to write a regression test that verifies the fix moving forward.
Logs taken while reproducing problem
No response