Hirad Sab
Hirad Sab
@AndriiSherman I use a technique, where I use drizzle index generation to have a colocated, single-source-of-truth schema definition. I then have a script that extracts all `CREATE INDEX ...` lines...
@peterkogo I add the handles before the image is loaded. In this case the handles are always present. This is the gist of the nodes on the right side, sorry...
Seems to be only happening with images. I replaced the image in one of the nodes with a square `div`. Seems to be working fine in that case ## Before...
@moklick @peterkogo Here is a reproduction repo https://github.com/hsab/xyflow-bug-4528 https://github.com/user-attachments/assets/59c92324-e91d-4d5e-ad3d-80f99c09baa2 ``` pnpm i pnpm dev - Local: http://localhost:3200 ```
I think I found the issue while creating the reproduction repo. The violating node attributes are `width` and `height`. If these are present dynamic positioning breaks. Rereading the [docs](https://reactflow.dev/learn/troubleshooting/migrate-to-v12) I...
Wondering if width and height should be ignored if measured is present? @moklick
@moklick I still encounter strange issues with `initialWidth/Height`. This happens specifically when I throttle my connection using chrome's dev tools to Slow 3G, and the edges fail to be positioned...
@moklick hmmm can't seem to reproduce the issue anymore. so that's good news! :) Will report back if it happens again. Cheers!
@moklick so at first I was using `width` and `height` incorrectly and the edges were not positioning properly. Removing those fixed the issue so I decided to explore `initialWidth` and...
@moklick bad news! the issue is still there. It is inconsistent, sometimes it works, sometimes it doesn't. Behaves unexpectedly on each visit, but more interestingly it behaves different in the...