-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
ScrollContainer focus StyleBox is not clipped by parent #100176
Comments
This comment has been minimized.
This comment has been minimized.
I'll try to take a look at it, but finding free time around EoY is really hard for me. |
Just a small clarification, all the bugs referenced are not related to the change that I implemented. All of them where already present on 4.3 |
Indeed, this problem exists since 4.0. |
Fixes godotengine#100176 Instead of using no clipping technique to draw the focus border because it causes problems if a `ScrollContainer` is nested in another `ScrollContainer`, now the focus border is drawn using an internal `PanelContainer`.
Tested versions
v4.4.dev6.official [1f47e4c]
System information
Fedora Linux 40 (KDE Plasma) on Wayland - X11 display driver, Multi-window
Issue description
PR #97521 added a focus style for ScrollContainer this has the same problem as following issues:
Tree:
#100063
#88749
#74670
ItemList:
#77919
Steps to reproduce
A ScrollContainer inside another ScrollContainer
Add some content to both
Enable draw_focus_border for second ScrollContainer
Select something in the second ScrollContainer so it gets focus
Scroll the first ScrollContainer
Minimal reproduction project (MRP)
scrollfocus.zip
The text was updated successfully, but these errors were encountered: