appflowy-editor icon indicating copy to clipboard operation
appflowy-editor copied to clipboard

[Bug] Swift keyboard issue on mobile

Open armandsLa opened this issue 1 year ago • 6 comments

Bug Description

Deleting text and moving back to previous line often moves cursor to the start of the line, not end as it supposed to be. This causes weird issues with text input, like not being able to delete characters. This is most often happening when deleting list items.

How to Reproduce

Write and delete some test, try creating list with some items and then edit it. Casual use.

Expected Behavior

Cursor always moves to the end of the line.

Operating System

Flutter/iOS

AppFlowy Editor Version(s)

2.2.0

Screenshots

No response

Additional Context

No response

armandsLa avatar Jan 10 '24 19:01 armandsLa

I'm unable to reproduce it. Can you post a video record?

LucasXu0 avatar Jan 11 '24 04:01 LucasXu0

Sure, here is a video with these issues. At one point I was unable to delete an empty line.

https://github.com/AppFlowy-IO/appflowy-editor/assets/6855713/7efe6d25-2304-421d-99cf-cae94decd46f

armandsLa avatar Jan 11 '24 12:01 armandsLa

@armandsLa Would you mind testing it with our example project? I have already tested it on the example and everything works fine.

By the way, what's your iOS system version?

https://github.com/AppFlowy-IO/appflowy-editor/assets/11863087/319ca2b8-71dc-4757-8dcb-0d5e1f48a6a4

LucasXu0 avatar Jan 11 '24 14:01 LucasXu0

Same problems with example project. Tested on iPhone 15 Pro(iOS 17.2.1), Flutter 3.16.4. Using SwiftKey keyboard.

https://github.com/AppFlowy-IO/appflowy-editor/assets/6855713/19dceabc-7a47-48e2-8c64-e8c59afce50d

armandsLa avatar Jan 11 '24 15:01 armandsLa