Fix test warning

pull/7853/head
afc163 7 years ago
parent 8feaf83003
commit 6aa4138c00

@ -116,8 +116,8 @@ export default function calculateNodeHeight(
hiddenTextarea.setAttribute('style', `${sizingStyle};${HIDDEN_TEXTAREA_STYLE}`);
hiddenTextarea.value = uiTextNode.value || uiTextNode.placeholder || '';
let minHeight = -Infinity;
let maxHeight = Infinity;
let minHeight = Number.MIN_SAFE_INTEGER;
let maxHeight = Number.MAX_SAFE_INTEGER;
let height = hiddenTextarea.scrollHeight;
let overflowY;

Loading…
Cancel
Save