Skip to content

v4.7.0 — 拖动流畅度重构

Latest

Choose a tag to compare

@fuguier001 fuguier001 released this 12 Sep 07:07
· 12 commits to main since this release

拖动流畅度重构版本。

  • 拖动期间零 React 渲染:window 监听命令式直写 translate3d(纯 GPU 合成器路径,零布局重排)
  • 松手原子提交:left/top 终值与清 transform 同帧落地,无闪跳
  • 位移/缩放分层解耦:外层只管位移(will-change 提层),浮起缩放全在内层——松手不再甩飞
  • 面板标题栏拖动同路径(自动上溯面板容器)

CDP 实测:终值与 getBoundingClientRect 完全一致,拖动全程布局零失效。