AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

​Editor's focus not switched to the AI panel after triggering the AI panel from the Ask AI dropdown

Open UNIDY2002 opened this issue 1 year ago • 0 comments

What happened?

Steps to reproduce:

  1. Select some text in the note
  2. Click "Ask AI"
  3. Click "Continue with AI" or "Open in AI chat" (both produce the same result)
  4. Click the input field of the AI chat panel
  5. Press enter

You will see the enter having effect on the text in the note, causing a line break and clearing the selected text.

Distribution version

Web (app.affine.pro)

What browsers are you seeing the problem on if you're using web version?

Firefox

Are you self-hosting?

  • [ ] Yes

Relevant log output

No response

Anything else?

No response

UNIDY2002 avatar Dec 24 '24 13:12 UNIDY2002