input-output-hk / catalyst-voices

🎙️ Catalyst Voices provides a unified experience and platform including production-ready liquid democracy, meaningful collaboration opportunities & data-driven context for better onboarding & decisions.
https://input-output-hk.github.io/catalyst-voices/
Apache License 2.0
26 stars 8 forks source link

[Bug]: Rich-text editor keyboard controls #803

Open nielskijf opened 2 months ago

nielskijf commented 2 months ago

Is there an existing issue for this?

Current Behavior

01 - Running through a sentence, keeping arrow-left/right presses doesn’t update cursor position in real time. (Firefox only)

While pressing cursor left/right all other browsers work fine / show real-time update position of the cursor. Only in Firefox, cursor position does't show until left-right arrow is released, and sometimes takes a while to appear. Seems like a bug.

02 - CMD/Windows key left-right keyboard arrows skip to beginning / end sentence This one is weird. On Chrome, Arc, Safari is works while pressing CMD left/right arrow (jumps directly) On Firefox cursor only jumps after releasing the CMD key.

Expected Behavior

01 - Have the cursor position update in the real time while pressing left/right arrows.

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

Project

Frontend

What operating system are you seeing the problem on?

macOS

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Arc

Relevant log output

No response

Anything else?

Tested across Firefox, Chrome, Arc, Safari. Only Firefox gave above troubles.

Did not search the issue, as I don't have the relevant names / versions to do so.

Code of Conduct

digitalheartxs commented 1 month ago

It has been reported to flutter_quill team

https://github.com/singerdmx/flutter-quill/issues/2219 https://github.com/singerdmx/flutter-quill/issues/2218