Closed rgershon closed 2 months ago
The detectAlignCenter function is responsible for a large amount of blocking time due to style re-calculation. https://github.com/square/maker/blob/master/src/components/Text/src/Text.vue#L219
See the image where this affects 2560 elements.
Visit any production site, preferably with a larger catalog and it will appear in the performance tab.
Production
No response
This issue has been automatically closed because it hasn't received any activity in over 6 months.
Bug description
The detectAlignCenter function is responsible for a large amount of blocking time due to style re-calculation. https://github.com/square/maker/blob/master/src/components/Text/src/Text.vue#L219
See the image where this affects 2560 elements.
Reproduction
Visit any production site, preferably with a larger catalog and it will appear in the performance tab.
Environment
Addressed by
No response
Can you contribute a fix?