vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

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

Open oopses opened this issue 2 years ago • 0 comments

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;

oopses avatar Jun 06 '22 13:06 oopses