From 6b78cf7fa7cdb34626214e4c1363b0d432d8b24f Mon Sep 17 00:00:00 2001 From: eszlamczyk Date: Wed, 29 Apr 2026 18:51:02 +0200 Subject: [PATCH] fix(ios): spoiler not rendering after keystroke --- ios/views/EnrichedMarkdownInternalText.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/views/EnrichedMarkdownInternalText.m b/ios/views/EnrichedMarkdownInternalText.m index cdb8a0b5..20700c5d 100644 --- a/ios/views/EnrichedMarkdownInternalText.m +++ b/ios/views/EnrichedMarkdownInternalText.m @@ -78,6 +78,7 @@ - (void)applyAttributedText:(NSMutableAttributedString *)text context:(RenderCon [_textView.layoutManager invalidateLayoutForCharacterRange:NSMakeRange(0, text.length) actualCharacterRange:NULL]; [_spoilerManager setNeedsUpdate]; + [self setNeedsLayout]; #if !TARGET_OS_OSX [_textView setNeedsLayout];