singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

CMD/Windows key left-right keyboard arrows skip to beginning / end sentence #2219

Open digitalheartxs opened 2 months ago

digitalheartxs commented 2 months ago

Is there an existing issue for this?

Flutter Quill version

No response

Steps to reproduce

  1. Fill editor with text
  2. Use CMD/Windows key left-right keyboard arrows

Expected results

Having the cursor jump between beginning and end, while pressing cmd-left / cmd-right.

Actual results

On Chrome, Arc, Safari is works while pressing CMD left/right arrow (jumps directly) On Firefox cursor only jumps after releasing the CMD key.

Code sample

Code sample ```dart [Paste your code here] ```

Additional Context

Screenshots / Video demonstration [Upload media here]
Logs ```console [Paste your logs here] ```