I have an array similar to the above, which is stored in the state and uses the vlist component to render at different heights. When I change the height of the state, the vlist renders incorrectly. For example, if I change the height of the first line to 200, it will overlap with the dom of the next line. How can I make the vlist render correctly? Now the problem I encounter is just like the figure below. I control the data through the state. I don't know whether I express it clearly
Can I have any way to solve this problem?The code is like this. I've made a lot of simplification
the code like this:
https://stackoverflow.com/questions/67293193/about-the-size-render-error-of-vlist-after-state-update April 28, 2021 at 11:05AM
没有评论:
发表评论