fix: allow inside binding via timeout if arrow has no startBinding

This commit is contained in:
dwelle
2025-09-02 14:35:30 +02:00
parent aa7351f649
commit cba5d01460

View File

@@ -1006,7 +1006,10 @@ class App extends React.Component<AppProps, AppState> {
});
});
}
} else if (!this.bindModeHandler && !this.state.newElement) {
} else if (
!this.bindModeHandler &&
(!this.state.newElement || !arrow.startBinding)
) {
// We are hovering a bindable element
this.bindModeHandler = setTimeout(effector, BIND_MODE_TIMEOUT);
}