Page MenuHomePhabricator

D7382.diff
No OneTemporary

D7382.diff

diff --git a/web/chat/inline-engagement.react.js b/web/chat/inline-engagement.react.js
--- a/web/chat/inline-engagement.react.js
+++ b/web/chat/inline-engagement.react.js
@@ -49,7 +49,15 @@
[css.reactionsSplitContainer]: reactionsExist && threadInfo,
});
- const onClickThread = useOnClickThread(threadInfo);
+ const onClickThreadInner = useOnClickThread(threadInfo);
+
+ const onClickThread = React.useCallback(
+ (event: SyntheticEvent<HTMLElement>) => {
+ popModal();
+ onClickThreadInner(event);
+ },
+ [popModal, onClickThreadInner],
+ );
const sidebarItem = React.useMemo(() => {
if (!threadInfo || !repliesText) {

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 12:29 AM (21 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577799
Default Alt Text
D7382.diff (665 B)

Event Timeline