-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reactflow@11.10.4
breaks edit mode
#1148
Comments
This bug manifests differently on different browsers:
|
Hmm, this bug is much harder to trigger when deployed as compared to when it's running via For example, see the deployment in #1175, which uses React Flow v11.10.4, the first version where the bug appears. The Primer program contained in this session causes the bug to appear on the very first click with nearly 100% reproducibility when I interact with it using Chrome on macOS and |
In #1173, we've upgraded to React Flow v12 (beta). This issue hasn't completely gone away in that version, but it's rare enough (at least in the deployed version) that I think it's probably worth going ahead with the upgrade anyway. I'll keep this issue open for now until we've squashed it completely. (I now believe it's likely an upstream issue and not something we're doing wrong.) |
One of the changes in ReactFlow 11.10.4 breaks edit mode. Selecting any node in the tree causes all nodes in the edit window to disappear — their
visibility
property is set tofalse
and the only way to get them back is to reload the page. Note that the selected node's type in the "Selection info" picture-in-picture window remains visible after the selection is made.The issue sounds similar to these:
However, no
NodeDimensionChange
should be triggering in our case, as far as I'm aware.The nodes that were previously visible are still in the DOM and are still present at the same screen locations as before they disappeared, so this does not seem to be a viewport issue: it's simply that their
visibility
gets set tohidden
.The bug also exists in
reactflow@11.11.0
, which is the latest version at the time of writing.The text was updated successfully, but these errors were encountered: