Skip to content

Typescript React Text does not render on Canvas #1206

Answered by drcmda
wibed asked this question in Q&A
Discussion options

You must be logged in to vote

there are dozens of running examples with text, here's one https://codesandbox.io/s/html-input-fields-024uom

the sandbox you posted uses ancient packages (react-three-fiber is deprecated, use @react-three/fiber)

troika default fontsize is tiny btw, it might just be that you don't see the text.

edit:

fontSize={1} works, i see the text. but i think a default that small makes little sense, i'll set it to 1.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@wibed
Comment options

@drcmda
Comment options

@wibed
Comment options

@makc
Comment options

@wibed
Comment options

Answer selected by wibed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #1205 on December 30, 2022 10:55.