Text isn't displaying colors when focused

I’m creating a script editor in game which uses RichText to display colors for the code, it works fine but when the textbox is focused it doesn’t show the colors anymore.

Is there any way to fix this?

An alternative could be making the TextBox’s text contents transparent and then manually inserting the tags that you need and then updating like a TextLabel to show the player what they’re typing, although this might be more complex to implement.

1 Like

Tried that and it worked. Thanks!

1 Like