Browse Source

remove overflowY on TextArea autoSize since height transition has been removed for a long time

fix #10151
pull/13295/head
zombiej 6 years ago
parent
commit
df49b767b1
  1. 4
      components/input/calculateNodeHeight.tsx

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

Loading…
Cancel
Save