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

Tree component #6940

Closed
AlexBindevald opened this issue Dec 9, 2024 · 4 comments
Closed

Tree component #6940

AlexBindevald opened this issue Dec 9, 2024 · 4 comments
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted

Comments

@AlexBindevald
Copy link

Describe the bug

Vue Tree Component tree branches does not expand during filtering to display matching search results.

Reproducer

https://stackblitz.com/run?file=src%2FApp.vue

PrimeVue version

4.2.4

Vue version

4.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

Create a tree component with filtering. When filter input is inserted the tree is filtererd, but the nodes are not open if it is a child node.

The same issue is bringed out here also #3996

Expected behavior

When tree is being filtered, then the nodes should be opened

The same issue is bringed out here also #3996

I saw there was even done a feature branch, but was closed.

@AlexBindevald AlexBindevald added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 9, 2024
@AlexBindevald
Copy link
Author

<InputText v-model="filterValue" autocomplete="off" :class="cx('pcFilterInput')" :placeholder="filterPlaceholder" :unstyled="unstyled" @keydown="onFilterKeydown" :pt="ptm('pcFilterInput')" />

If the @keydown would be changed to keyup then it is possible to do easy workaround. But currently you are getting filter value before the full input

@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 10, 2024
@tugcekucukoglu tugcekucukoglu added this to the Future milestone Dec 10, 2024
Copy link

Due to PrimeVue team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@tugcekucukoglu
Copy link
Member

Duplicate #6928

@github-project-automation github-project-automation bot moved this from Review to Done in PrimeVue Dec 10, 2024
@tugcekucukoglu tugcekucukoglu removed this from the Future milestone Dec 10, 2024
@tugcekucukoglu tugcekucukoglu added Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted and removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working Resolution: Help Wanted Issue or pull request requires extra help and feedback labels Dec 10, 2024
@AlexBindevald
Copy link
Author

It is not duplicate, different scenarios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants