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 should automatically scroll to show the selected option #1735

Closed
nclemeur opened this issue Nov 10, 2021 · 0 comments
Closed

TreeSelect should automatically scroll to show the selected option #1735

nclemeur opened this issue Nov 10, 2021 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@nclemeur
Copy link

[x ] bug report

CodeSandbox Case (Bug Reports)
https://www.primefaces.org/primevue/showcase/#/dropdown

Current behavior
Currently, when you select an option that is toward to end of the list and you had to scroll, when you open the treeselect menu again you don't see the option being selected until you scroll down. This is exactly the same issue as #1657

image

Expected behavior
Show automatically the selected option without having to scroll down. See below:
image

@tugcekucukoglu tugcekucukoglu added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Nov 10, 2021
@tugcekucukoglu tugcekucukoglu added this to the 3.8.3 milestone Nov 10, 2021
@tugcekucukoglu tugcekucukoglu self-assigned this Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants