You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
itemProps.style causing unnecessary re-renders even when not needed
Additional observations:
Commenting out the style prop prevents cell re-renders but scrolling lag persists
Frame rate remains stable during scrolling
Suggests possible CSS updates, reflow, or repaint issues
Potential Contributing Factors
Complex cell node structure
Subsequent WebSocket updates for specific rows
Environment
Info
antd
5.21.6
React
18.2.0
System
macOS 14.6.1
Browser
Chrome 130.0.6723.92
Issue persists across React 16 and React 18
Frame rate stability during lag suggests DOM operations (reflow/repaint) may be the bottleneck rather than React rendering
Current implementation follows antd usage patterns with rc-table's genVirtualTable
The text was updated successfully, but these errors were encountered:
harrytothemoon
changed the title
Virtual Table Scrolling Performance Issue
Virtual Table Scrolling Performance Issue with WebSocket real-time data updates
Nov 6, 2024
harrytothemoon
changed the title
Virtual Table Scrolling Performance Issue with WebSocket real-time data updates
Virtual Table Scrolling Performance lag Issue with WebSocket real-time data updates
Nov 6, 2024
Reproduction link
https://ant.design/components/table#table-demo-virtual-list
Steps to reproduce
What is expected?
Smooth vertical scrolling performance with virtual list implementation.
What is actually happening?
Implementation Details
Actual Behavior
This issue exists in both antd and rc-virtual-list demos
Investigation Findings
Potential Contributing Factors
The text was updated successfully, but these errors were encountered: