Skip to content

Conversation

CSEHoangV
Copy link
Contributor

@CSEHoangV CSEHoangV commented Jul 17, 2025

Related Issue(s)

fix #11899

Description

Please refer to #12021 for more information, it was later closed and change was included in #12015. However, we only needed change from #12021 to fix performance since root cause came from the innerText.

For the fix in the main branch, implementation is changed a bit to narrow down on when we should check and do the screen reading in this case. The screenreader should only be occurred when table cell is focused. Therefore, condition checking should happen at that time to avoid the DOM check for every table cell when it is rendered.

The fix also combines implementation from #10512 with a bit modifications and scenario narrowed down. DOM access checking should be occurred when this comes from custom table cell as we don't know if application display content or not.

Add a way to stop default announcement and expected consumer provide their own announcement on column template.

Our application is in the process of migrating to Angular 20. We would like to migrate some of the fixes which only exist in Angular 15 downport to main branch.

@CSEHoangV CSEHoangV self-assigned this Jul 17, 2025
Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for fundamental-ngx ready!

Name Link
🔨 Latest commit cafbdba
🔍 Latest deploy log https://app.netlify.com/projects/fundamental-ngx/deploys/68f28c0112dae40008bb7dc8
😎 Deploy Preview https://deploy-preview-13395--fundamental-ngx.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CSEHoangV CSEHoangV changed the title fix(platform): replace innerText with textContent on table row fix(platform): improve performance on platform table row Jul 17, 2025
@CSEHoangV CSEHoangV marked this pull request as draft July 17, 2025 01:37
@CSEHoangV CSEHoangV force-pushed the fix/main-tablerowperf branch 2 times, most recently from 1c5fdc6 to 24eb955 Compare July 17, 2025 23:57
@CSEHoangV CSEHoangV changed the title fix(platform): improve performance on platform table row fix(core, platform): improve performance on platform table row Jul 17, 2025
@CSEHoangV CSEHoangV marked this pull request as ready for review July 17, 2025 23:58
@CSEHoangV CSEHoangV marked this pull request as draft July 18, 2025 00:12
@CSEHoangV CSEHoangV force-pushed the fix/main-tablerowperf branch 3 times, most recently from 7e29cdb to fd88021 Compare July 18, 2025 23:00
@CSEHoangV CSEHoangV changed the title fix(core, platform): improve performance on platform table row fix(core, platform): only check empty content when table cell is focused Jul 18, 2025
@CSEHoangV CSEHoangV marked this pull request as ready for review July 18, 2025 23:35
@CSEHoangV CSEHoangV force-pushed the fix/main-tablerowperf branch from fd88021 to 0d1bab2 Compare July 19, 2025 00:20
@droshev droshev requested a review from MariaIDineva July 19, 2025 07:56
@droshev droshev added this to the Sprint 148 - July 2025 milestone Jul 19, 2025
@droshev
Copy link
Contributor

droshev commented Aug 28, 2025

We will leave this to @mikerodonnell89 to review

@CSEHoangV CSEHoangV changed the title fix(core, platform): only check empty content when table cell is focused [WIP] fix(core, platform): only check empty content when table cell is focused Sep 24, 2025
@CSEHoangV CSEHoangV force-pushed the fix/main-tablerowperf branch from ee0fedc to 73642a5 Compare September 24, 2025 17:38
@CSEHoangV
Copy link
Contributor Author

Still stuck with current work, I will revisit and make a suggested change later.

@CSEHoangV CSEHoangV marked this pull request as draft September 29, 2025 19:46
@droshev
Copy link
Contributor

droshev commented Sep 29, 2025

@CSEHoangV Let's close it for now, you can reopen it whenever you have more time

@droshev droshev closed this Sep 29, 2025
@CSEHoangV CSEHoangV reopened this Oct 17, 2025
@CSEHoangV CSEHoangV force-pushed the fix/main-tablerowperf branch from 73642a5 to 4b91e31 Compare October 17, 2025 01:40
… when cell is focused

fix(platform): add option for empty cell announcement for column template
@CSEHoangV CSEHoangV force-pushed the fix/main-tablerowperf branch from 4b91e31 to cafbdba Compare October 17, 2025 18:33
@CSEHoangV CSEHoangV marked this pull request as ready for review October 17, 2025 18:47
@CSEHoangV CSEHoangV changed the title [WIP] fix(core, platform): only check empty content when table cell is focused fix(core, platform): only check empty content when table cell is focused Oct 17, 2025
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.

Performance issue with a large number of columns

3 participants