Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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
Assignees
Labels
bug Something isn't working
Milestone

Comments

@NatalliaAlieva
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Closed
Development

No branches or pull requests

2 participants