mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [input] correct textarea height in fullscreen (#21656)
This commit is contained in:
@@ -70,7 +70,7 @@ export function calcTextareaHeight(
|
||||
): TextAreaHeight {
|
||||
if (!hiddenTextarea) {
|
||||
hiddenTextarea = document.createElement('textarea')
|
||||
document.body.appendChild(hiddenTextarea)
|
||||
;(targetElement.parentNode ?? document.body).appendChild(hiddenTextarea)
|
||||
}
|
||||
|
||||
const { paddingSize, borderSize, boxSizing, contextStyle } =
|
||||
|
||||
Reference in New Issue
Block a user