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

TreeSelect - problem with scroll jumping #2752

Closed
mozukis opened this issue Apr 14, 2022 · 0 comments
Closed

TreeSelect - problem with scroll jumping #2752

mozukis opened this issue Apr 14, 2022 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@mozukis
Copy link

mozukis commented Apr 14, 2022

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

[X] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.

the bug is even on the documentation page:
https://www.primefaces.org/primereact/treeselect/

Current behavior
Scroll always jumps to the first selected item in the list

This is very inconvenient, every time the scroll jumps to the first selected item in the list.

Expected behavior
Scroll should not change position

Minimal reproduction of the problem with instructions
go to Tree Select type Checkbox =>
=> select the Expenses.doc located in Documents/Work
=> Expand the Events and Movies categories
=> Then select Goodfellas in Movies/Robert De Niro
= At this point, the scroll jumps to the first selected item in the list, which is Expenses.doc

Please tell us about your environment:
meaningless, the same on the documentation page

  • React version:
    meaningless, the same on the documentation page

  • PrimeReact version:
    meaningless, the same on the documentation page

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

tested on chrome and safari

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
@mcandu mcandu self-assigned this Apr 15, 2022
@mcandu mcandu added the Type: Bug Issue contains a defect related to a specific component. label Apr 15, 2022
@mcandu mcandu added this to the 8.0.0-rc.2 milestone Apr 15, 2022
mcandu added a commit that referenced this issue Apr 15, 2022
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