Comments (6)
Thanks :) I can confirm that behavior is consistent between 12.0.0-next.12 and 12.0.0-next.17. Appreciate the look into this.
from react-flow.
Thanks for the super detailed explanation here :) This should be fixed in 12.0.0-next.16.
from react-flow.
Hey, I've tested my example on v12-next.16, and I'm not able to get nodesInitialized to run consistently on the demo. I've added an alert statement whenever nodesInitialized changes for debugging purposes. The nodes useEffect will run only once (not twice for population & measurement), and the nodesInitialized useEffect seems to only fire when I initialize / hot reload the page. However, on my school project, I'm able to get nodesInitialized to fire, and I'm not really sure why it's inconsistent here.
This is on v12-next.16:
https://codesandbox.io/p/sandbox/reactflow-measurement-bug-v12-next-12-forked-yw88qs
Thanks for the response and maintaining this package.
from react-flow.
It seems we need to re-open this :/ We will check it next week. Thanks for the codesandbox!
from react-flow.
Thanks! Take care.
from react-flow.
This is fixed in 12.0.0-next.17. Thanks again @collinsleewyatt !
from react-flow.
Related Issues (20)
- Error when clicking edge source end with onReconnect HOT 2
- NodeResizer lineStyle boderStyle invalid HOT 5
- Documentation website UX issue HOT 3
- `useStore` hook doesn't respect `ReactFlowState` generic HOT 2
- How can i prevent or stop the mouse event when i render the three.js model in reactflow HOT 9
- Floating Edges Example have some issue HOT 1
- useUpdateNodeInternals doesnot update node dimensions on dynamic increase of handles HOT 4
- Setting nodeExtent prevents group panning. HOT 2
- orientation prop missing on Control component HOT 2
- Node thumbnails are not displayed in MiniMap HOT 1
- Can't test ReactFlow in vitest HOT 2
- On hooks page for useKeyPress, a row inside Signature is not L HOT 2
- Moving a part of diagram is not working properly for Edited edges points HOT 1
- Calling `getNodes` does not return new added nodes using `addNodes` HOT 4
- Can the Interactive button be set to default true or false? HOT 1
- Node resizing with onResizeEnd not working on iPad HOT 1
- [v12] getMarkerEnd not exported HOT 6
- Connecting edges creates erroneous duplicate edges when selectionOnDrag=true HOT 4
- ReactFlow v12 - class `nodrag` doesn't prevent selection as it did in previous versions HOT 2
- Make ViewportPortal a ForwardRef Component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-flow.