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

Performance issue when scrolling ag-grid with ix-elements in cell renderers #1286

Open
2 tasks done
SusiHorter opened this issue May 21, 2024 · 4 comments
Open
2 tasks done
Labels
type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed

Comments

@SusiHorter
Copy link

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

We are using ag-grid with ix-elements inside cell renderers (e.g. buttons, icons, pills) and faced some performance issue when scrolling.
The ix-elements diappear when scrolling fast through the list.
This only occours when the cell renderers use ix-elements.
see comparison: https://stackblitz.com/edit/hpufse?file=src%2Fapp%2Fapp.component.html)

What type of frontend framework are you seeing the problem on?

Angular

Which version of iX do you use?

v2.2.1

Code to produce this issue.

https://stackblitz.com/edit/hpufse?file=src%2Fapp%2Fapp.component.html
@SusiHorter SusiHorter added the triage We discuss this topic in our internal weekly label May 21, 2024
@danielleroux
Copy link
Collaborator

Looks like this is more related to ag-grid rendering. Here a example of rendering 2000 rows without aggrid https://stackblitz.com/edit/j8h8x4?file=src%2Fapp%2Fbuttons.ts

@danielleroux
Copy link
Collaborator

danielleroux commented May 21, 2024

As soon we have more insights we give you feedback. Maybe as temp. workaround you can play with the rowBuffer to get better results

e.g rowBuffer of 15

Untitled.mov

@SusiHorter
Copy link
Author

@danielleroux Thanks for the quick reply. We will try the workaround using the RowBuffer for now.

@matthiashader matthiashader added type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed and removed triage We discuss this topic in our internal weekly labels May 29, 2024
Copy link
Contributor

github-actions bot commented May 29, 2024

🤖 Hello @SusiHorter

Your issue will be analyzed and is part of our internal workflow.
To get informed about our workflow please checkout the Contributing Guidelines

JIRA: IX-1272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working Workflow: Issue created JIRA issue is created and will be analyzed
Projects
None yet
Development

No branches or pull requests

3 participants