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

feat: Allow setting text range when setting text to RichTextState #488

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sermilion
Copy link

@Sermilion Sermilion commented Jan 7, 2025

ISSUE:
When setting text, selection is automatically set to the end of text. This behavior does not work well when we want to set RichTextField to disabled to simply display a rich text, because it shows last half of the text as preview.

SOLUTION:
As a solution we can allow setting text range while setting text to RichTextState.

I cant add reviewers, so tagging you directly @MohamedRejeb

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

Successfully merging this pull request may close these issues.

1 participant