From 997c357f7279ef2a3285ea1fe034aaba5a6fc50d Mon Sep 17 00:00:00 2001 From: Ashraf Masarwa Date: Sun, 1 Feb 2026 15:52:23 +0200 Subject: [PATCH] OCPBUGS-72598 | [OVE] Custom manifests are broken in local Assisted UI --- .../clusterWizard/ClusterWizardContextProvider.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx b/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx index 86863ed601..cd91a69544 100644 --- a/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +++ b/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx @@ -160,10 +160,14 @@ const ClusterWizardContextProvider = ({ isSingleClusterFeatureEnabled, ); - // Only move step if there is still none, or the user is at a forbidden step + // Only move step if there is still none, or the user is at a forbidden step. + // Never force the user off the custom-manifests step when they are actively filling it + // (e.g. after pasting content triggers auto-save and uiSettings can update). if ( !currentStepId || - (customManifestsStepNeedsToBeFilled && isStepAfter(currentStepId, requiredStepId)) + (currentStepId !== 'custom-manifests' && + customManifestsStepNeedsToBeFilled && + isStepAfter(currentStepId, requiredStepId)) ) { setCurrentStepId(requiredStepId); }