mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01: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
|
.filter((m) => m !== currentAccountInfo.acct) // Excluding self
|
||||||
.map((m) => `@${m}`)
|
.map((m) => `@${m}`)
|
||||||
.join(' ')} `;
|
.join(' ')} `;
|
||||||
|
textareaRef.current.dispatchEvent(new Event('input'));
|
||||||
textareaRef.current.focus();
|
textareaRef.current.focus();
|
||||||
}
|
}
|
||||||
setVisibility(visibility);
|
setVisibility(visibility);
|
||||||
|
|
Loading…
Reference in a new issue