Merge pull request #5335 from ConnectAI-E/fix/right-click

fix: right click
This commit is contained in:
Dogtiti 2024-08-29 20:49:31 +08:00 committed by GitHub
commit 97a4a910e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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));