Focus input on submission and fix scroll (#441)
This commit is contained in:
parent
23660c5ad1
commit
2705d83d6c
5 changed files with 61 additions and 8 deletions
|
|
@ -19,6 +19,8 @@ export function useScrollToBottom<T extends HTMLElement>(): [
|
|||
observer.observe(container, {
|
||||
childList: true,
|
||||
subtree: true,
|
||||
attributes: true,
|
||||
characterData: true,
|
||||
});
|
||||
|
||||
return () => observer.disconnect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue