mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
focus last element on bg click
This commit is contained in:
parent
b8ca00c593
commit
efcd0dd71b
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ function close(opts: { useSendAnimation?: boolean } = {}) {
|
|||
function onBgClick() {
|
||||
if (contentClicking) return;
|
||||
emit("click");
|
||||
focusedElement.focus();
|
||||
}
|
||||
|
||||
if (type === "drawer") {
|
||||
|
|
Loading…
Reference in a new issue