Akryum / Akryum/vue-virtual-scroller

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

未关闭
#730 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
10.8k
派生
973
PR 合并指标
30 天内没有已合并 PR

描述

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-change](https://developer.mozilla.org/zh-CN/docs/Web/CSS/will-change)Although 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;

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。