1
0
Fork 0
mirror of synced 2024-06-14 00:14:39 +12:00

Fix mobile mode not working properly inside app preview

This commit is contained in:
Andrew Kingston 2022-07-01 13:40:37 +01:00
parent cefb733d00
commit 3dfcb48215

View file

@ -21,11 +21,11 @@
}
onMount(() => {
resizeObserver.observe(document.getElementById("spectrum-root"))
resizeObserver.observe(document.getElementById("clip-root"))
})
onDestroy(() => {
resizeObserver.unobserve(document.getElementById("spectrum-root"))
resizeObserver.unobserve(document.getElementById("clip-root"))
})
</script>