Delay focus compose field a little

This commit is contained in:
Lim Chee Aun 2023-01-01 15:32:36 +08:00
parent 2031e88d87
commit cf1c03f55f

View file

@ -131,8 +131,9 @@ function Compose({
};
const focusTextarea = () => {
setTimeout(() => {
console.log('focusing');
textareaRef.current?.focus();
}, 100);
}, 300);
};
useEffect(() => {