-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 (Virtual Scroll): Cannot set properties of undefined (setting 'tabIndex') #3888
Comments
same problem |
I get the error clicking on any row that isn't on page 1 of a paginated datatable |
same problem |
The same here. |
I have opened PR #3984 to fix this issue. I have mainly tested it on paginated datatables. |
Great, thank you @barthy-koeln. I was going to come back around and put a PR in but you beat me to it! |
Hello @barthy-koeln, the problem solution is not published yet, right ? |
We use the row-click emit to trigger a redirect to a new page, this is also resulting in the same error. |
The issue persists; however, there is a specific pattern in my case. The datatable functions as expected within a single paginated page. However, when I navigate to a different page within the same pagination, the error is triggered once. After that initial occurrence, the error does not appear again until another page change occurs. |
@1993garik and the rest :) I have given up on keeping the PR up to date. I was going to look into actually fixing the |
I'm getting the same error at 3.41.1.
attn @tugcekucukoglu |
Describe the bug
The issue has been raised and closed before incorrectly see #3650. The major DataTable changes mentioned in #3682 does not fix this issue.
Source:
primevue/components/lib/datatable/DataTable.vue
Line 1001 in 0cedd48
Reproducer
https://stackblitz.com/edit/angular-7eg97z?file=src%2FApp.vue
PrimeVue version
3.27.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
There shouldn't be an error and the row is selected correctly the first time and does not require a secondary click to change the row correctly.
The text was updated successfully, but these errors were encountered: