From 57f037c906168647c8becbaf182fb0356e860b6b Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 2 Jul 2024 13:13:35 +0300 Subject: [PATCH] Fixed #6001 - Stepper: linear mode disabled header defect --- packages/primevue/src/step/style/StepStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/step/style/StepStyle.js b/packages/primevue/src/step/style/StepStyle.js index 4e1ac8494..3f339f045 100644 --- a/packages/primevue/src/step/style/StepStyle.js +++ b/packages/primevue/src/step/style/StepStyle.js @@ -5,7 +5,7 @@ const classes = { 'p-step', { 'p-step-active': instance.active, - 'p-disabled': instance.isStepDisabled() || props.disabled + 'p-disabled': !instance.active && (instance.isStepDisabled() || props.disabled) } ], header: 'p-step-header',