Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on adding input textfield to stage #35

Open
charlie-says opened this issue Jan 25, 2022 · 0 comments
Open

Error on adding input textfield to stage #35

charlie-says opened this issue Jan 25, 2022 · 0 comments

Comments

@charlie-says
Copy link

I've been trying to get the text input 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 issue thread:
import TextInput from "pixi-text-input"

and when creating the text input field with:
let t1 = new TextInput({...
that 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant