-
Notifications
You must be signed in to change notification settings - Fork 961
Description
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
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
- Use
UChangelogVersionswith:versionsprop - Set
:indicator="true" - Pass an array of version objects with
title,description,date, etc.
ue
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/uiversion^4.1.0 - The component works correctly when using
UChangelogVersionas child components instead of:versionsprop - The
indicatorprop seems to be ignored when using:versionsprop
Additional context