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

TextInput promptTextRenderer has no stateContext added #1821

Open
divlaine opened this issue Apr 26, 2023 · 0 comments
Open

TextInput promptTextRenderer has no stateContext added #1821

divlaine opened this issue Apr 26, 2023 · 0 comments

Comments

@divlaine
Copy link

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;

@divlaine divlaine changed the title TextInput promptTextRenderer has no stateContext TextInput promptTextRenderer has no stateContext added Apr 26, 2023
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

1 participant