mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 14:51:31 -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() {
|
function onBgClick() {
|
||||||
if (contentClicking) return;
|
if (contentClicking) return;
|
||||||
emit("click");
|
emit("click");
|
||||||
|
focusedElement.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === "drawer") {
|
if (type === "drawer") {
|
||||||
|
|
Loading…
Reference in a new issue