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

Bug: Component type issues #567

Closed
MisaLiu opened this issue Jan 17, 2025 · 2 comments
Closed

Bug: Component type issues #567

MisaLiu opened this issue Jan 17, 2025 · 2 comments

Comments

@MisaLiu
Copy link

MisaLiu commented Jan 17, 2025

Current Behavior

Some components like <container> will throw a type error claims that no such elememt:

Image

The other components will also throw type erros for properties sometimes. Like the <text> component (I found the same issue #500 but it still occurs):

Image

Expected Behavior

Components should not throw any type errors

Steps to Reproduce

Run the same code from #493 (comment)

Or you can check the CodeSandbox link: https://codesandbox.io/p/sandbox/pixi-react-v8-test-6jdw8y

Environment

Possible Solution

I tried solution from #500 (comment) and it fixes.

Additional Information

No response

@zOadT
Copy link
Contributor

zOadT commented Jan 18, 2025

I think this is caused by #559. You now have to prefix elements with Pixi, e.g. <pixiContainer>

@MisaLiu
Copy link
Author

MisaLiu commented Jan 18, 2025

I think this is caused by #559. You now have to prefix elements with Pixi, e.g. <pixiContainer>

Thanks! It did help.

@MisaLiu MisaLiu closed this as completed Jan 18, 2025
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

2 participants