add input animation + input item rafctor
This commit is contained in:
parent
74d6d45150
commit
3cf07e2b45
7 changed files with 121 additions and 63 deletions
|
|
@ -28,7 +28,6 @@ export default function useKeyDownHandler() {
|
|||
};
|
||||
// fire event with message payload
|
||||
emitter.emit("newSelfMessage", message);
|
||||
input.value = "";
|
||||
}
|
||||
|
||||
function keyDownHandler(e: KeyDownEvent) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue