mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Ugh have to manual trigger onInput
Is there a way to just auto trigger this?
This commit is contained in:
parent
03d2e2aa72
commit
db1e481bd3
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ function Compose({
|
|||
.filter((m) => m !== currentAccountInfo.acct) // Excluding self
|
||||
.map((m) => `@${m}`)
|
||||
.join(' ')} `;
|
||||
textareaRef.current.dispatchEvent(new Event('input'));
|
||||
textareaRef.current.focus();
|
||||
}
|
||||
setVisibility(visibility);
|
||||
|
|
Loading…
Reference in a new issue