mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
focus last element on bg click
This commit is contained in:
parent
b8ca00c593
commit
efcd0dd71b
@ -188,6 +188,7 @@ function close(opts: { useSendAnimation?: boolean } = {}) {
|
||||
function onBgClick() {
|
||||
if (contentClicking) return;
|
||||
emit("click");
|
||||
focusedElement.focus();
|
||||
}
|
||||
|
||||
if (type === "drawer") {
|
||||
|
Loading…
Reference in New Issue
Block a user