From a14e476eeb477ac6fb5fc42c9020ec3980c7583b Mon Sep 17 00:00:00 2001 From: Vitaliy Mazurenko Date: Fri, 10 Aug 2018 08:37:17 +0300 Subject: [PATCH] =?UTF-8?q?Anchor=20component=20with=20affix=3Dtrue=20does?= =?UTF-8?q?n't=20work=20inside=20inner=20scrollable=E2=80=A6=20(#11688)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #11687 --- components/anchor/Anchor.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/anchor/Anchor.tsx b/components/anchor/Anchor.tsx index 4845ef4613..b15e249ba5 100644 --- a/components/anchor/Anchor.tsx +++ b/components/anchor/Anchor.tsx @@ -240,6 +240,7 @@ export default class Anchor extends React.Component { affix, showInkInFixed, children, + getContainer, } = this.props; const { activeLink } = this.state; @@ -273,7 +274,7 @@ export default class Anchor extends React.Component { ); return !affix ? anchorContent : ( - + {anchorContent} );