AppFlowy-IO/AppFlowy

[Bug] Editor loses focus when typing / as part of the text

Opened this issue · 1 comments

Bug Description

It happens sometimes that when I enter something like 'red/white' into the editor, it will lose focus.

How to Reproduce

Type in a slash as part of the text and continue typing. It loses focus after the 4th character following the slash.

Expected Behavior

Should not lose focus.

Operating System

Linux

AppFlowy Version(s)

0.5.7

Screenshots

Screencast.from.2024-05-13.12-01-05.webm

image

Additional Context

Not sure under what conditions it happens.

Xazin commented

CC @LucasXu0

Could be the slash menu on exit doesn't return focus properly to the editor in some cases.