Skip to content

Step not reactive after mount #8377

@dmeijboom

Description

@dmeijboom

Describe the bug

The Step component inside the Stepper component never updates isSeparatorVisible which means that if there are new Stepss after mount the value will be off resulting in a missing separator.

Pull Request Link

#8378

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template-7wvbhklb?file=src%2FApp.vue

Environment

VueJS

Vue version

3.5.12

PrimeVue version

4.5.4

Node version

v22.21.1

Browser(s)

No response

Steps to reproduce the behavior

  1. Setup Stepper with Steps
  2. Add or remove Steps dynamically
  3. Separator not rendered

Expected behavior

Adding or removing Steps should work reactively and separators should be computed on update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions