singerdmx / flutter-quill

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

Stuck magnifying glass #2379

Open vargab95 opened 1 week ago

vargab95 commented 1 week ago

Is there an existing issue for this?

Flutter Quill version

10.8.5

Steps to reproduce

  1. Open a QuillEditor.basic with some text
  2. Long press on a word
  3. Start to pull the right side up

Expected results

The magnifying glass and the selection is adjusted to the new position of the marker.

Actual results

Markers do disappear and the magnifying glass is stuck until the app is restarted.

Additional Context

Screenshots / Video demonstration ![Screenshot_20241114_115317](https://github.com/user-attachments/assets/0463325d-496d-4ffb-844e-a3d9c9baf0e8)
Logs ```console [Paste your logs here] ```
EchoEllet commented 1 week ago

I'm thinking about reverting the magnifier feature completely (#2026) in v11 with all related changes, too many regressions, bugs, and workarounds (#2376, #2153, #2128, #2124, #2049, #2391), it made changes to many parts of the API, removed an assert check to dodge issues, not implemented cleanly.

vargab95 commented 1 week ago

If someone faces the same issue, a workaround could be to add magnifierConfiguration: const TextMagnifierConfiguration(), to the QuillEditorConfigurations.