diff --git a/components/affix/index.tsx b/components/affix/index.tsx index 0635f2c5cd..7325ba0d61 100644 --- a/components/affix/index.tsx +++ b/components/affix/index.tsx @@ -116,6 +116,8 @@ class Affix extends React.Component { clearTimeout(this.timeout); removeObserveTarget(this); (this.updatePosition as any).cancel(); + // https://github.com/ant-design/ant-design/issues/22683 + (this.lazyUpdatePosition as any).cancel(); } getOffsetTop = () => {