mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-20 00:53:32 +02:00
fix: Issue with person page focus
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { Selectable } from '../selectable';
|
||||
import classNames from 'classnames';
|
||||
import { onMount } from 'svelte';
|
||||
import { PLATFORM_WEB } from '../constants';
|
||||
|
||||
let showOverlay = false;
|
||||
let x = 0;
|
||||
@@ -36,6 +37,8 @@
|
||||
};
|
||||
|
||||
onMount(() => {
|
||||
if (!PLATFORM_WEB) return;
|
||||
|
||||
const interval = setInterval(() => {
|
||||
if (element && showOverlay) {
|
||||
updateOverlayPosition(element);
|
||||
|
||||
Reference in New Issue
Block a user