You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some theme cases when we need to change prompt fontStyle in different TextInput states. promptTextRenderer has neccesary support, but after statechange no change. After some searching I found that there is no stateContext added to it.
So my propose is to add in createPrompt function IStateObserver(this.promptTextRenderer).stateContext = this;
The text was updated successfully, but these errors were encountered:
divlaine
changed the title
TextInput promptTextRenderer has no stateContext
TextInput promptTextRenderer has no stateContext added
Apr 26, 2023
There are some theme cases when we need to change prompt fontStyle in different TextInput states. promptTextRenderer has neccesary support, but after statechange no change. After some searching I found that there is no stateContext added to it.
So my propose is to add in createPrompt function
IStateObserver(this.promptTextRenderer).stateContext = this;
The text was updated successfully, but these errors were encountered: