You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found an issue which happens only with ImGuiConfigFlags_NavEnableKeyboard set.
The navigation happens with Tab Key and focus changes, but somehow the Enter button (New Line) on the InputTextMultiline is not detected, unless Enter is held down.
Is there any way to fix it ?
…Enter key wouldn't be accepted by the widget when navigation highlight is visible. (#6802, #3092, #5759, #787)
+ Added test in ImGuiTestSuite: "widgets_inputtext_multiline_enter"
Thank you for reporting.
I have pushed a fix for this 0e1ce76.
Amusingly we had a comment directly the double activation as "Harmless but bizarre." but it turned out not to be harmless.
The fact the the navigation system only emits the g.NavActivateId signal (on space or enter) when g.NavDisableHighlight == false is probably to be reworked and currently creates some inconsistency. I guess when ImGuiConfigFlags_NavEnableKeyboard is set we should always restore the highlight on tabbing.
The fact the the navigation system only emits the g.NavActivateId signal (on space or enter) when g.NavDisableHighlight == false is probably to be reworked and currently creates some inconsistency. I guess when ImGuiConfigFlags_NavEnableKeyboard is set we should always restore the highlight on tabbing.
Hi there,
I've found an issue which happens only with ImGuiConfigFlags_NavEnableKeyboard set.
The navigation happens with Tab Key and focus changes, but somehow the Enter button (New Line) on the InputTextMultiline is not detected, unless Enter is held down.
Is there any way to fix it ?
Example:
Thanks, Antonio.
UPDATE:
This issue actually happens when the control InputTextMultiline is focused. Otherwise works all fine.
Focused (not working properly)
Not-Focused (WORKING!)
The text was updated successfully, but these errors were encountered: