Skip to content

fix(react): add Enter keypress to confirm standard tapback selection#69

Open
PeterRosdahl wants to merge 1 commit intosteipete:mainfrom
PeterRosdahl:fix/react-enter-keypress
Open

fix(react): add Enter keypress to confirm standard tapback selection#69
PeterRosdahl wants to merge 1 commit intosteipete:mainfrom
PeterRosdahl:fix/react-enter-keypress

Conversation

@PeterRosdahl
Copy link

Summary

Standard tapback reactions (love, like, dislike, laugh, emphasis, question) open the tapback menu but never confirm the selection. The custom emoji code path presses Enter (key code 36) after typing the emoji, but the standard reaction path was missing this.

Changes

Added delay 0.1 and key code 36 after keystroke reactionKey in the standard reaction AppleScript, matching the custom emoji path.

Testing

Tested locally on macOS 15 (Sequoia) with imsg 0.5.0:

  • imsg react --chat-id 3 --reaction like
  • imsg react --chat-id 3 --reaction love
  • imsg react --chat-id 3 --reaction laugh

Fixes #53

Standard tapback reactions open the tapback menu but never confirm the selection.
The custom emoji code path presses Enter (key code 36) after typing, but the
standard reaction path was missing it.

Fixes steipete#53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

react: missing Enter keypress for standard tapback reactions

1 participant