mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +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