mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 19:28:14 +08:00
fix(components): [input] fix textarea autosize (#11376)
* fix(components): [input] fix textarea autosize
This commit is contained in:
parent
a6c7e44f48
commit
9d3d77c674
@ -1,11 +1,11 @@
|
||||
import { isNumber } from '@element-plus/utils'
|
||||
import { isFirefox, isNumber } from '@element-plus/utils'
|
||||
|
||||
let hiddenTextarea: HTMLTextAreaElement | undefined = undefined
|
||||
|
||||
const HIDDEN_STYLE = `
|
||||
height:0 !important;
|
||||
visibility:hidden !important;
|
||||
overflow:hidden !important;
|
||||
${isFirefox() ? '' : 'overflow:hidden !important;'}
|
||||
position:absolute !important;
|
||||
z-index:-1000 !important;
|
||||
top:0 !important;
|
||||
|
Loading…
Reference in New Issue
Block a user