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

[Feat] 开启 autoHeight 使用 updateRecords 更新checkbox会卡顿很久,是否可以单独提供修改checkbox状态的接口 #1504

Closed
xiaoosnggao opened this issue Apr 12, 2024 · 0 comments
Assignees
Labels
feature 新需求

Comments

@xiaoosnggao
Copy link
Contributor

xiaoosnggao commented Apr 12, 2024

Version

0.23.2

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/musing-butterfly-4g4rr2?layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clr7k1yim0006356kgxv6ob8h%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clr7k1yil0002356kc202jikz%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clr7k1yil0003356k313qrry0%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clr7k1yil0005356k95l0e6vw%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B40%252C60%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clr7k1yil0002356kc202jikz%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clr7k1yik0001356ki478393g%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fpublic%252Findex.html%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%252C%257B%2522id%2522%253A%2522clru3yaiz0002356i1z9f10tg%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Findex.tsx%2522%252C%2522state%2522%253A%2522IDLE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A20%252C%2522startColumn%2522%253A1%252C%2522endLineNumber%2522%253A20%252C%2522endColumn%2522%253A1%257D%255D%257D%252C%257B%2522id%2522%253A%2522cltcn7mcy00023b6klu1f4dqr%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A13%252C%2522startColumn%2522%253A27%252C%2522endLineNumber%2522%253A13%252C%2522endColumn%2522%253A27%257D%255D%252C%2522filepath%2522%253A%2522%252Fpackage.json%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clr7k1yil0002356kc202jikz%2522%252C%2522activeTabId%2522%253A%2522clru3yaiz0002356i1z9f10tg%2522%257D%252C%2522clr7k1yil0005356k95l0e6vw%2522%253A%257B%2522id%2522%253A%2522clr7k1yil0005356k95l0e6vw%2522%252C%2522activeTabId%2522%253A%2522cluuzhmno003j3b6l3d99tg1m%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522id%2522%253A%2522cluuzhmno003j3b6l3d99tg1m%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%257D%252C%2522clr7k1yil0003356k313qrry0%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clr7k1yil0003356k313qrry0%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

Steps to Reproduce

点击checkbox

Current Behavior

1.点击checkbox 后使用 updateRecords 更新
2.卡顿

Expected Behavior

使用 updateRecords 更新数据能减少卡顿,猜测可能是内容中携带了富文本的原因导致的计算时间过长,能否单独提供个修改 checkbox 状态的接口

Environment

- OS:macos
- Browser:chrome
- Framework:react

Any additional comments?

No response

@xiaoosnggao xiaoosnggao added the bug Something isn't working label Apr 12, 2024
@xiaoosnggao xiaoosnggao changed the title [Bug] 使用updateRecords 更新大量数据的时候会卡顿很久 [Bug] 使用updateRecords 更新带html标签的大量数据时候会卡顿很久 Apr 12, 2024
@xiaoosnggao xiaoosnggao changed the title [Bug] 使用updateRecords 更新带html标签的大量数据时候会卡顿很久 [Bug] 开启 autoHeight 使用 updateRecords 更新checkbox会卡顿很久,是否可以单独提供修改checkbox状态的接口 Apr 12, 2024
@fangsmile fangsmile changed the title [Bug] 开启 autoHeight 使用 updateRecords 更新checkbox会卡顿很久,是否可以单独提供修改checkbox状态的接口 [Feat] 开启 autoHeight 使用 updateRecords 更新checkbox会卡顿很久,是否可以单独提供修改checkbox状态的接口 Apr 12, 2024
@fangsmile fangsmile added feature 新需求 and removed bug Something isn't working labels Apr 12, 2024
@Rui-Sun Rui-Sun closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新需求
Projects
None yet
Development

No branches or pull requests

3 participants