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

表格中的数据有换行会非常卡 #578

Closed
isdefault opened this issue Jul 31, 2024 · 6 comments · Fixed by #615
Closed

表格中的数据有换行会非常卡 #578

isdefault opened this issue Jul 31, 2024 · 6 comments · Fixed by #615

Comments

@isdefault
Copy link

例如表格中的数据如下:
1.测试文本
1.测试文本
1.测试文本
1.测试文本
这只是简单的示例,如果换行较多或者文本比示例的长会非常卡,即使只使用上面的示例文本也会卡,如果没有换行就不会卡例如
1.测试文本1.测试文本1.测试文本1.测试文本

@isdefault
Copy link
Author

1

@isdefault
Copy link
Author

单个单元格数据多的话会非常卡

@sanchit3008
Copy link
Collaborator

hi can you please post this in english? sorry i cant understand chinese.

@isdefault
Copy link
Author

嗨,你能用英文发布这个吗?对不起,我听不懂中文。It can be very stuck when there are a lot of characters in a single cell in the table, you can take a look at the performance graph of the screenshot I commented on above

@sanchit3008
Copy link
Collaborator

i will have a look at this. thanks for reporting.

@Corbe30
Copy link
Contributor

Corbe30 commented Oct 24, 2024

Hi @isdefault ! Which browser, browser version and OS are you using?
This issue is caused by canvas' filltext(), which is particularly slow on Linux implementation of Chrome and Firefox.

That said, I've raised a fix PR

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 a pull request may close this issue.

3 participants