- Home /
TextMeshPro InputField masking not working
Hi everyone,
The white rectangle is gameobject with RectMask2D. I am using TextMeshPro's input field inside it, and as long as text component is partially inside rect mask, it works fine. When it leaves mask fully, then the text component is displayed (but placeholder is fine, even when input field is empty). This doesn't happen immediately, but when you disable and enable the object that was inside mask (which is often happening my application). Is this TMP bug? Is there any workaround?
This was done on an empty unity project with only text mesh pro installed.
Thanks in advance for help!
screenshot-1.png
(52.3 kB)
Comment
Your answer
Follow this Question
Related Questions
Using UI Text as as mask for an underlying image 2 Answers
Inputfield text to String variable 1 Answer
Dynamic Input FIeld 0 Answers