Post

Replies

Boosts

Views

Activity

Reply to UITextView with large `textContainerInset` scrolls upwards when selecting text
@KeithB Thanks for the info, I really appreciate it! I might be able to change my UI around so that the content could be below the text you are editing. Did you just override setContentSize: to update it to the size with the extra bottom margin? I noticed in another app, they somehow removed all animations/scrolling. When moving the selection anchors the text view does not scroll at all. Also, when entering a new line, there is no animation to scroll the UITextView, it just jumps instantly. Do you know if there is a way to replicate that behavior? Thanks!
Topic: UI Frameworks SubTopic: UIKit
Jun ’24
Reply to UITextView with large `textContainerInset` scrolls upwards when selecting text
@KeithB Thanks for the info, I really appreciate it! I might be able to change my UI around so that the content could be below the text you are editing. Did you just override setContentSize: to update it to the size with the extra bottom margin? I noticed in another app, they somehow removed all animations/scrolling. When moving the selection anchors the text view does not scroll at all. Also, when entering a new line, there is no animation to scroll the UITextView, it just jumps instantly. Do you know if there is a way to replicate that behavior? Thanks!
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jun ’24
Reply to UITextView automatically scrolls upwards when dragging selection handles and textContainerInset is about half the textview height
Did you ever find an answer to this? I am having the same issue
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’24