Skip to content

UChangelogVersions indicator not displaying when using :versions prop #5451

@zeexzeex

Description

@zeexzeex

Environment

  • Operating System: Windows_NT
  • Node Version: v20.19.0
  • Nuxt Version: 4.2.0
  • CLI Version: 3.30.0
  • Nitro Version: 2.12.9
  • Package Manager: npm@10.8.2
  • Builder: -
  • User Config: compatibilityDate, devtools, modules, css
  • Runtime Modules: @nuxt/ui@4.1.0, @nuxt/eslint@1.10.0
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.1.0

Reproduction

Using the official docs example with UChangelogVersions and the versions prop:

https://codesandbox.io/p/devbox/youthful-mirzakhani-5rx29f

<script setup> const versions = [ { title: 'Nuxt 3.17', description: 'Nuxt 3.17 is out...', date: '2025-04-27', }, { title: 'Nuxt 3.16', description: 'Nuxt 3.16 is out...', date: '2025-03-07', }, ] </script>

UChangelogVersions does not render indicator when using the versions prop.
The page renders as a white screen in Codesandbox as well, indicating the same hydration issue.

Additionally, the indicator does not appear even when the indicator prop is removed.
The component still fails to render the timeline structure regardless of whether indicator is enabled or not.

Description

Description

The indicator prop on UChangelogVersions component does not display the timeline indicator (vertical line and markers) when using the :versions prop to pass data directly.

Steps to Reproduce

  1. Use UChangelogVersions with :versions prop
  2. Set :indicator="true"
  3. Pass an array of version objects with title, description, date, etc.
    ue
<script setup> const versions = ref([ { title: 'Nuxt 3.17', description: 'Nuxt 3.17 is out...', date: '2025-04-27', }, { title: 'Nuxt 3.16', description: 'Nuxt 3.16 is out...', date: '2025-03-07', }, ]) </script>## Expected Behavior

The timeline indicator (vertical line with circular markers) should be displayed on the left side of each version item, similar to when using UChangelogVersion as child components.

Actual Behavior

No timeline indicator is displayed. Only the version content (title, description, date) is shown without the visual timeline structure.

Additional Context

  • Using @nuxt/ui version ^4.1.0
  • The component works correctly when using UChangelogVersion as child components instead of :versions prop
  • The indicator prop seems to be ignored when using :versions prop

Additional context

Image

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions