mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 16:05:58 +00:00
small init fix
This commit is contained in:
@@ -84,7 +84,9 @@
|
||||
const sizeObserver = new ResizeObserver((entries) => {
|
||||
requestAnimationFrame(() => {
|
||||
let width = entries[0].contentRect.width
|
||||
|
||||
if (width === 0) {
|
||||
width = 1
|
||||
}
|
||||
if (width === containerWidth) {
|
||||
mounted = true
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user