You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DataTable] [LazyDataSource]: DataTable with LazyDataSource does not load items on scroll in certain cases. The component crashes when presets panels is present.
#2510
Closed
NatalliaAlieva opened this issue
Sep 16, 2024
· 1 comment
Make sure the amount of rows fit on the screen is more or less big (like 30 rows or more). To achieve this, you can use browser zoom or chrome dev tools features to make logical screen height 1200px or more.
Description
It seems this bug is reproduced on any DataTable with LazyDataSource. E.g. here:
https://uui.epam.com/sandbox?id=productsTableDemo
Prerequisites
Make sure the amount of rows fit on the screen is more or less big (like 30 rows or more). To achieve this, you can use browser zoom or chrome dev tools features to make logical screen height 1200px or more.
Use case
Open Data Table example with Presets panel: https://uui.epam.com/docExample?theme=loveship&examplePath=tables%2FPresetsPanelBasic
Make sure screen heigh is big enough or use zoom out features of browser to achive this.
Open dev tools and set height: 100% style to the .uui-panel element to make sure it occupies all available height.
Actual result: The component crashes with the following error: https://react.dev/errors/185?invariant=185
Environment
Reproduced on any relevant example on https://uui.epam.com/ site
The text was updated successfully, but these errors were encountered: