We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f12cf0 commit dd1e12cCopy full SHA for dd1e12c
packages/ui-text-area/src/TextArea/index.tsx
@@ -117,8 +117,8 @@ class TextArea extends Component<TextAreaProps> {
117
if (this._highlightRef) {
118
const entryStyle = window.getComputedStyle(entry.target)
119
this._highlightRef.style.transition = 'none'
120
- this._highlightRef.style.width = `calc(${entryStyle.width}px + 2.125rem)`
121
- this._highlightRef.style.height = `calc(${entryStyle.height}px + 2.125rem)`
+ this._highlightRef.style.width = `calc(${entryStyle.width} + 0.5rem)`
+ this._highlightRef.style.height = `calc(${entryStyle.height} + 0.5rem)`
122
clearTimeout(this.resizeTimeout)
123
124
this.resizeTimeout = setTimeout(() => {
0 commit comments