Replies: 1 comment
-
I agree clicking outside should release focus for both LineEdit and TextEdit. This behavior is seen in other applications like web browsers after all (example). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the LineEdit node in Godot, I noticed an unintuitive focus behavior:
Expected Behavior:
Clicking non-interactive UI regions (e.g., transparent areas of a Panel, ColorRect, or background containers) should trigger
focus_exited()
for the focused LineEdit, aligning with common UI/UX conventions in other applications.Proposed Solution
Add an optional
focus_lost_on_click_outside
property to LineEdit (default:true
) to automatically release focus when clicking unrelated UI areas.Beta Was this translation helpful? Give feedback.
All reactions