flyover/imgui-js

Bug ImGui.InputText Not Wrok By UI from keyboard

wshmaple opened this issue · 2 comments

This Demo https://codepen.io/flyovergames/pen/ejXjXj
ImGui.InputText("name", (value = mesh.name) => mesh.name = value);
UI input by keyborad is not work

BUT Demo https://codepen.io/flyovergames/pen/xYPBaj is OK

WHY?

Thanks for letting me know. The canvas element needed the tabindex attribute for it to accept keyboard input.

Thanks for letting me know. The canvas element needed the tabindex attribute for it to accept keyboard input.

Thanks for fix
Working OK