Akryum / vue-virtual-scroller

⚡️ Blazing fast scrolling for any amount of data
https://vue-virtual-scroller-demo.netlify.app
9.36k stars 896 forks source link

vue-recycle-scroller__item-view style will-change: transform item height is abnormal #730

Open oopses opened 2 years ago

oopses commented 2 years ago

environment: electron: 12.0.14 vue2 Operating system: win10

Problem phenomenon: After using RecycleScroller to set a fixed height for each item, about 1px of the bottom of some items is not rendered during the sliding process, and after the sliding stops, the text in the item will resize and flash.

will-changeAlthough will-change is experimental, I found similar hmm issues like https://github.com/bvaughn/react-virtualized/issues/453 https://github.com/frontend-collective/react-sortable-tree/issues/17

At present, the performance optimization he brings is limited, and there will be more problems,If you are using a newer version of chrome, I recommend overriding this css property

Suggested amendments: css override will-change: auto;