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

fix(@clayui/core): Fixes bug when rendering the last columns visibility cell for dynamic rendering #5822

Merged

Conversation

matuzalemsteles
Copy link
Member

Follow-up #5817

I had only done the test for the case of static rendering but had not done the coverage for the case of dynamic rendering, an important point is that we do this as a speculation of the size of the items within a row but this value can change if necessary in the cell, I believe that the best thing is for the developer to avoid cases like this so as not to break other table behaviors along with collection, so it always passes the items that will be rendered. This is also great for recommending that they are pure functions and have no side effects.

@matuzalemsteles matuzalemsteles merged commit 3073159 into liferay:master May 21, 2024
4 checks passed
@matuzalemsteles matuzalemsteles deleted the dynamic-renderer-table branch May 21, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant