flutter-quill icon indicating copy to clipboard operation
flutter-quill copied to clipboard

iOS editing cursor problem

Open flayxff opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

Flutter Quill version

flutter_quill 10.8.5

Steps to reproduce

https://github.com/user-attachments/assets/cee1ee79-37ef-41d6-a909-09dc90af7388

Expected results

It should be edited at the cursor.

Actual results

The cursor returned to its original place.

Additional Context

Screenshots / Video demonstration

[Upload media here]

Logs
[Paste your logs here]

flayxff avatar Dec 12 '24 02:12 flayxff

This issue is encountered in https://github.com/singerdmx/flutter-quill/pull/2413#issuecomment-2536227951 after reverting the magnifier feature, though it looks like this issue already existed with the magnifier.

EchoEllet avatar Dec 12 '24 08:12 EchoEllet

This could be fixed by adding updateRemoteValueIfNeeded(); right below this line:

https://github.com/singerdmx/flutter-quill/blob/3ca00f6896f89fe0744a5cdd5a842833f01ecb53/lib/src/editor/raw_editor/raw_editor_state.dart#L519u

theniceboy avatar Jan 09 '25 21:01 theniceboy

Related: #2414

EchoEllet avatar Jan 19 '25 05:01 EchoEllet