fixed typo and cleanup destroyed overlay wrappers

This commit is contained in:
Gani Georgiev
2024-11-18 08:23:39 +02:00
parent 14aaeb06fc
commit 487e83c84e
30 changed files with 41 additions and 45 deletions
+3 -7
View File
@@ -199,18 +199,14 @@
// move outside of its current parent
getHolder().appendChild(wrapper);
let wrapperCopy = wrapper;
return () => {
clearTimeout(contentScrollThrottle);
unregisterActivePanel();
// ensures that no artifacts remains
// (currently there is a bug with svelte transition)
wrapper?.classList?.add("hidden");
setTimeout(() => {
wrapper?.remove();
}, 0);
wrapperCopy?.remove();
};
});
</script>
@@ -81,7 +81,7 @@
<a href="/settings" use:link>Dashboard settings</a>.
</p>
<p>
Because this endpoint process the requests in a single transaction, it could degrade the
Because this endpoint process the requests in a single transaction it could degrade the
performance of your application if not used with proper care and configuration (e.g. too large
allowed execution timeout, large body size limit, etc.).
</p>