Skip to content

局部滚动不会生成layerForScrollContent的原因么? 然后导致滚动会不断触发paint #3

Description

@deepkolos

很久之前就遇过了, 不过自己后面没有去深原因, 刚才有遇到了一次了

https://www.jianshu.com/p/f64945787383

解决办法很简单, 外包一层div, 并设置will-change: transform; 来生成一层layer即可, 但是毕竟还是属于打补丁的方式, 还是想知道根本的原因

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions