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

DataTable: Column Reorder Indicator Incorrect #6580

Open
ssode opened this issue May 6, 2024 · 0 comments
Open

DataTable: Column Reorder Indicator Incorrect #6580

ssode opened this issue May 6, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@ssode
Copy link

ssode commented May 6, 2024

Describe the bug

When reordering columns, the indicator icon will sometimes show up in the incorrect position

image

Reproducer

https://stackblitz.com/edit/optnbv?file=src%2FApp.jsx

PrimeReact version

10.6.5

React version

18.x

Language

ALL

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Drag the Code column over the Name column
  2. Observe that while dragging over the left half of the Name column, the indicator is shown to the left of the column containing the row reorder icons
  3. Drop the column at that position and observe that the Code column is now to the right of the Name column as expected

Expected behavior

The column reorder indicator should always be displayed to the right of the Name column when hovering over it

@ssode ssode 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 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant