Skip to content

Commit fad2ad0

Browse files
authored
fix(ios): spoiler not rendering after keystroke (#280)
1 parent d190fc9 commit fad2ad0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ios/views/EnrichedMarkdownInternalText.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ - (void)applyAttributedText:(NSMutableAttributedString *)text context:(RenderCon
7878
[_textView.layoutManager invalidateLayoutForCharacterRange:NSMakeRange(0, text.length) actualCharacterRange:NULL];
7979

8080
[_spoilerManager setNeedsUpdate];
81+
[self setNeedsLayout];
8182

8283
#if !TARGET_OS_OSX
8384
[_textView setNeedsLayout];

0 commit comments

Comments
 (0)