"Copy Code" Button Doesn't Work in Chrome App (macOS)

In the Chrome app version of T3 Chat on macOS, the floating "Copy Code" button becomes non-functional when the code snippet is scrolled. Clicking it does not copy the code to the clipboard.


Steps to Reproduce (STR):

  1. On macOS, install T3 Chat as a Chrome app (via "Install T3 Chat" from Chrome menu).

  2. Use a prompt that generates a long code snippet (enough to require vertical scrolling).

  3. Scroll to the bottom of the code snippet.

  4. A floating "Copy Code" button appears in the top-right corner of the code block.

  5. Click the floating button.


Expected Behavior:

The code should be copied to the clipboard when clicking the floating "Copy Code" button.


Actual Behavior:

Clicking the floating "Copy Code" button has no effect—code is not copied.


Additional Observations:

  • Hovering over the header copy button shows a hand cursor (expected).

  • Hovering over the floating copy button only shows a default pointer cursor, suggesting it might not be registered as a clickable element.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🐛

Bug Reports

Subscribe to post

Get notified by email when there are changes.