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

Setting enabled = true to RichTextEditor shows disabled color only for uncolored text parts #486

Open
Sermilion opened this issue Jan 6, 2025 · 0 comments

Comments

@Sermilion
Copy link

Sermilion commented Jan 6, 2025

When setting RichTextEditor's enabled = false, text color changes to disabled color, which in theory makes sense. However, if we set a text that has some color specified, only the part with default color will change to disabled color, and the rest of the text that has "rich" color, will remain the same. See attached image - red color is unchanged and only uncolored text has disabled color variant.

SOLUTION:
Ideally, we would apply alpha value to whole text and then we would see disabled state for the whole text with alpha value applied to each color.

Screenshot_20250106_113554

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