Closed zombieJ closed 2 years ago
rc-resize-observer 由 CC 改成 FC 后,注册监听 Resize 时序发生了变化。一类是将 rc-textarea 也改成 FC,另一种就是直接移除 mount 的初始化 resize(因为 ResizeObserver 初始化时也会触发一次,所以移除不影响第一次渲染,只是会有 1 帧延迟)
rc-resize-observer
rc-textarea
+ rc-textarea@0.3.6
antd ci 挂了
rc-resize-observer
由 CC 改成 FC 后,注册监听 Resize 时序发生了变化。一类是将rc-textarea
也改成 FC,另一种就是直接移除 mount 的初始化 resize(因为 ResizeObserver 初始化时也会触发一次,所以移除不影响第一次渲染,只是会有 1 帧延迟)