charlie_says Posted January 25, 2022 Share Posted January 25, 2022 I've raised an issue in GitHub, but, I'm not sure how well maintained the project is currently, so I'm posting here in case anyone else can help. I've been trying to get the PIXI.TextInput to work in my project. "pixi-text-input": "^1.0.6" "pixi.js-legacy": "5.3.8" I had to tweak the import as per the first GH issue thread: import TextInput from "pixi-text-input" and when creating the text input field with: let t1 = new TextInput({... that all seemed to be fine. However, when I add it to the stage, I get this error: Uncaught TypeError: (intermediate value).render is not a function at TextInput.render (pixi-input-test.js:70784:11) at Container.render (pixi-input-test.js:17434:34) at Renderer.render (pixi-input-test.js:11239:23) at Application.render (pixi-input-test.js:45510:23) at TickerListener.emit (pixi-input-test.js:21105:25) at Ticker.update (pixi-input-test.js:21560:37) at Ticker._tick (pixi-input-test.js:21310:23) Any ideas how to resolve? I'm not sure if this is in some way related to using webpack, but, as I say any ideas would be very welcome! Quote Link to comment Share on other sites More sharing options...
charlie_says Posted January 25, 2022 Author Share Posted January 25, 2022 I think I've got this working - but, I'm not quite sure how. It was either switching from pixi-legacy to pixi, or updating the dev dependency in pixi-text-input... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.