danielsaidi / RichTextKit

RichTextKit is a Swift SDK that helps you use rich text in Swift and SwiftUI.
MIT License
944 stars 126 forks source link

Rich text alignment info doesn't change when moving text cursor #133

Closed danielsaidi closed 9 months ago

danielsaidi commented 10 months ago

This bug only appears in iOS.

If you change the text alignment on iOS, then move the cursor, the alignment picker will not adjust properly, but rather keep the last toggled value.

When debugging, the text view's alignment is also always the last one you applied, even though it should read the latest value and update the context.