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 }; }