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
Hi,
I'm just trying ImGui on a webpage after a good experience in C++, and that's awesome.
The thing is that I start using an InputText, but the text never change in despite of key pressed:
ImGui.InputText(idd, (value = window[idd]) => window[idd] = value );
Is there anything special to do to get ImGui-js to obtain keyboard events, or this some other issue ?
Everything looks ok, cursor is changing when focusing the textbox, I registered a window.addEventListener("keydown" which catch events correctly, and ImGui.GetIO() wants keyboard when the field is selected.
I have no clue...
The text was updated successfully, but these errors were encountered:
I've been struggling with the same issue, until I've recently found out that the canvas in which ImGui renders must have the attribute tabindex set to 1:
Hi,
I'm just trying ImGui on a webpage after a good experience in C++, and that's awesome.
The thing is that I start using an InputText, but the text never change in despite of key pressed:
ImGui.InputText(idd, (value = window[idd]) => window[idd] = value );
Is there anything special to do to get ImGui-js to obtain keyboard events, or this some other issue ?
Everything looks ok, cursor is changing when focusing the textbox, I registered a window.addEventListener("keydown" which catch events correctly, and ImGui.GetIO() wants keyboard when the field is selected.
I have no clue...
The text was updated successfully, but these errors were encountered: