flyover / imgui-js

JavaScript bindings for Dear ImGui using Emscripten and TypeScript
https://flyover.github.io/imgui-js/example/
MIT License
915 stars 98 forks source link

this.native.SelectAll is not a function #50

Open OmgImAlexis opened 2 years ago

OmgImAlexis commented 2 years ago

Had this error on the demo page recently. Not exactly sure what triggered since I had a load of different things running.

imgui.ts:1320 Uncaught TypeError: this.native.SelectAll is not a function
    at ImGuiInputTextCallbackData.SelectAll (imgui.ts:1320:44)
    at MyCallback (imgui_demo.ts:1333:34)
    at InputText._callback (imgui.ts:3566:97)
    at __emval_call (bind-imgui.js:9:663775)
    at 001bebea:0x123b1
    at 001bebea:0x45602
    at 001bebea:0x1bb65
    at 001bebea:0x15d5b
    at 001bebea:0x56eee
    at 001bebea:0x514ad