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

[Bug] Selecting all elements results in scrolling to table bottom #887

Closed
mllull opened this issue Jan 26, 2021 · 1 comment
Closed

[Bug] Selecting all elements results in scrolling to table bottom #887

mllull opened this issue Jan 26, 2021 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mllull
Copy link

mllull commented Jan 26, 2021

When Datatable has checkbox header for selecting all elements, when clic, a bottom scroll event is trigered and scrolls table to bottom.

You can try in checkbox example: https://www.primefaces.org/primevue/showcase/#/datatable/selection

Steps to reproduce:

  1. Go to Checkbox example and don't scroll to bottom of table:

image

  1. Click on header checkbox.
  2. A scroll to bottom of table is triggered:

image

Is a bug or a feature? If its a feature, it can be disabled?

I have a table of about 200 elements, and it's very annoying because my users gets confused.

@mllull
Copy link
Author

mllull commented Jan 28, 2021

Just discovered that Angular version of Prime works as expected: https://primefaces.org/primeng/showcase/#/table/selection

There is no bug in PrimeNG.

@cagataycivici cagataycivici self-assigned this Feb 2, 2021
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Feb 2, 2021
@cagataycivici cagataycivici added this to the 3.2.0 milestone Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants