Jump to content

PIXI.TextInput issue


Recommended Posts

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!

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...