From 6ed3cb56d4de336da5e2b32dc900e6a43fc4a19d Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Thu, 27 Aug 2020 00:14:35 -0400 Subject: [PATCH] Fix ellipses button on comment post The subtree retainer should take revealContent into account, so that when revealContent is toggled, it redraws the post --- js/src/forum/components/CommentPost.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/forum/components/CommentPost.js b/js/src/forum/components/CommentPost.js index ddff5f622..130c42064 100644 --- a/js/src/forum/components/CommentPost.js +++ b/js/src/forum/components/CommentPost.js @@ -40,7 +40,8 @@ export default class CommentPost extends Post { this.subtree.check( () => this.cardVisible, - () => this.isEditing() + () => this.isEditing(), + () => this.revealContent ); }