fix(TextAreaComponent): Update focus state padding and icon visibility (#4630)

🔧 (textAreaComponent/index.tsx): remove unnecessary conditional class 'opacity-0' when component is focused
This commit is contained in:
Cristhian Zanforlin Lousa 2024-11-18 13:02:57 -03:00 committed by GitHub
commit af1a8b7944
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,6 +73,7 @@ export default function TextAreaComponent({
editNode ? inputClasses.editNode : inputClasses.normal({ isFocused }),
disabled && inputClasses.disabled,
password && !passwordVisible && "text-clip",
isFocused && "pr-10",
);
};
@ -81,7 +82,7 @@ export default function TextAreaComponent({
};
const renderIcon = () => (
<div className={cn(isFocused && "opacity-0")}>
<div>
{!disabled && (
<div
className={cn(