From df49b767b1334602fce15145ae1b1a771c24d935 Mon Sep 17 00:00:00 2001 From: zombiej Date: Tue, 27 Nov 2018 11:23:36 +0800 Subject: [PATCH] remove overflowY on TextArea autoSize since height transition has been removed for a long time fix #10151 --- components/input/calculateNodeHeight.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/input/calculateNodeHeight.tsx b/components/input/calculateNodeHeight.tsx index f7e184a459..e2854e2180 100644 --- a/components/input/calculateNodeHeight.tsx +++ b/components/input/calculateNodeHeight.tsx @@ -156,9 +156,5 @@ export default function calculateNodeHeight( height = Math.min(maxHeight, height); } } - // Remove scroll bar flash when autosize without maxRows - if (!maxRows) { - overflowY = 'hidden'; - } return { height, minHeight, maxHeight, overflowY }; }