super_editor
super_editor copied to clipboard
[SuperEditor][SuperReader][SuperTextField] - Initial magnifier location is wrong on initial press
The magnifier appears in the wrong place, initially.
I found this problem on iOS. It probably happens on Android, but I'm not sure. I found the problem in Super Editor, but I assume it's happening in Super Reader and Super Text Field, too.
Repro steps:
- Types some text on line 1
- Insert a newline down to line 2, ensure the caret is sitting at the start of line 2
- Long-press on a word in line 1
Expected result: Magnifier appears where finger is pressed
Actual result: Magnifier appears where the caret sits.
https://github.com/user-attachments/assets/b81ac348-57ee-44af-a761-e9e6f4da2742