Skip to content

Commit

Permalink
fix input scroll up
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed Jul 29, 2023
1 parent 86d09f2 commit 8c6c871
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ - (void)setTextAlignment:(NSTextAlignment)textAlignment

- (void)setAttributedText:(NSAttributedString *)attributedText
{
self.scrollEnabled = false;
[super setAttributedText:attributedText];
self.scrollEnabled = true;
[self textDidChange];
}

Expand Down

0 comments on commit 8c6c871

Please sign in to comment.