Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#5335 from ConnectAI-E/fix/right-click
Browse files Browse the repository at this point in the history
fix: right click
  • Loading branch information
Dogtiti authored Aug 29, 2024
2 parents b6bb167 + 19c7a84 commit 97a4a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ function _Chat() {
message.content.length === 0 &&
!isUser
}
onContextMenu={(e) => onRightClick(e, message)}
// onContextMenu={(e) => onRightClick(e, message)} // hard to use
onDoubleClickCapture={() => {
if (!isMobileScreen) return;
setUserInput(getMessageTextContent(message));
Expand Down

0 comments on commit 97a4a91

Please sign in to comment.