-
Notifications
You must be signed in to change notification settings - Fork 2
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
crash when dropping a fresh group #2
Comments
testing further it also crashes when you drag everything in a alternative to anywhere on the graph |
Yep, I've seen this before - fun fact, when I showed my coworker, the very first thing he did was perfectly reproduce this bug 🙃 What's happening is that I automatically delete empty union branches when they lose focus, but this means that when you drag away a full expression, the original location gets deleted. Then when you drop it in an invalid place, I try to put it back. |
you shouldn't be deleting empty union branches though because they are necessary for doing |
Yep, for sure, it's just a holdover from an earlier time. At this point my keyboard editing stuff is good enough that I think I can just render an empty expression state and not automatically remove anything. |
steps to recreate
having a drag outside to delete would be nice instead of crash
The text was updated successfully, but these errors were encountered: