Replies: 1 comment
-
|
Plus, 'ResizeObserver loop completed with undelivered notifications.' error occur when I scroll... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Now I'm trying to implement a chat function using virtua.
Two-way infinite scrolling was implemented.
However, when a new message is sent or received, it is added to the existing message, and in this situation, the padding value of each item becomes strange and the location is damaged.
The error image is as follows.

If you look at the developer tool, you can see that the padding value suddenly differs a lot.

The relevant codes are as follows.
I'm creating a chat using a socket, and when I get a message, the handleReceiveMessage works.
In the end, we put a message as a spread operator in the existing message
I'd appreciate it if you could help me with why the problem is happening.
Beta Was this translation helpful? Give feedback.
All reactions