Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3357594
D7382.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
665 B
Referenced Files
None
Subscribers
None
D7382.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7382: [web] Allow interaction with inline engagement from the thread pinned messages modal
Attached
Detach File
Event Timeline
Log In to Comment