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

TreeItem scroll doesn't properly follow selected item when there is hidden items. #75929

Closed
BlotoPK opened this issue Apr 11, 2023 · 0 comments · Fixed by #75977
Closed

TreeItem scroll doesn't properly follow selected item when there is hidden items. #75929

BlotoPK opened this issue Apr 11, 2023 · 0 comments · Fixed by #75977
Milestone

Comments

@BlotoPK
Copy link

BlotoPK commented Apr 11, 2023

Godot version

v4.0.2.stable.official [7a0977c]

System information

Windows 10

Issue description

The vertical scroll bar should follow the selected item as we select another. This works fine unless some items have been hidden, which the scroll bar seems to ignore, leading to undesirable results.

Steps to reproduce

Steps to reproduce with the Minimal reproduction project:
Launch the project. Write "za" in the LineEdit at the top. Unfold some items in order to have a Vertical ScrollBar. Go to the bottom and select one item. Then use the keyboard to go up. At some point, the selected item will be no longer on sight.

filtered_tree.mp4

Minimal reproduction project

filtered_tree2.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants