Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline: Last item placed incorrectly #6624

Open
ewredewir opened this issue May 15, 2024 · 0 comments
Open

Timeline: Last item placed incorrectly #6624

ewredewir opened this issue May 15, 2024 · 0 comments
Labels
Type: Bug Issue contains a defect related to a specific component.

Comments

@ewredewir
Copy link

ewredewir commented May 15, 2024

The timeline component's last item in horizontal layout always places itself rather oddly. This bug can be seen even in https://primereact.org/timeline/#template page. To see the bug, edit the component in StackBlitz by only adding layout property as horizontal. No matter the item count, the last item is always incorrectly positioned.

Reproducer

No response

PrimeReact version

10.6.5

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Edit the default StackBlitz in https://primereact.org/timeline/#template
  2. Add layout property as horizontal to Timeline component
  3. Check the last item's positioning

Expected behavior

No response

@ewredewir ewredewir added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 15, 2024
@melloware melloware changed the title PrimeReact Timeline Component Timeline: Last item placed incorrectly May 27, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants