Open eduardmarcinco opened 1 year ago
Makes a lot of sense! Would make it a great addition & improvement to table! I can't give you a deadline on this yet since we are pushing to get all the breaking changes resolved first, but, will definitely track this so we don't forget!
Branch:
next
When using expandable rows, all expanded row templates are being evaluated right away even though they are hidden via CSS
style="display: none"
. This is degrading performance if a complicated template is used and user might not even expand the row. Would it be possible for template to be evaluated / included into the DOM when user actually expands the row? Or if that is not possible for some reason, at least pass some context to template whether it is expanded or not.https://github.com/carbon-design-system/carbon-components-angular/blob/next/src/table/body/table-expanded-row.component.ts#L33-L35
Table.
@Akshat55 can you please share your opinion on this?
Thank you!