Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Under certain conditions, text selection handlers appear in the wrong place on Android #1937

Closed
jellynoone opened this issue Apr 12, 2024 · 0 comments · Fixed by #2014
Closed
Assignees
Labels
area_supereditor Pertains to SuperEditor bounty_junior f:superlist Funded by Superlist time:2 type_bug Something isn't working

Comments

@jellynoone
Copy link

Package Version
main

To Reproduce
The bug can be reproduced in the Example app on Android.

Steps to reproduce the behavior:

  1. Run the example application on Android device
  2. Click anywhere and see the collapsed text selection handler
  3. Click on handler
  4. See toolbar appear
  5. Choose Select All
  6. See text selection handler appear at Offset.zero instead of the start and ends of the document

This behavior can only be observed if the text selection is collapsed if it isn't, the behavior is as expected.

Actual behavior
The text selection handler appears at Offset.zero when "Select All" is initiated with a collapsed selection.

Expected behavior
The text selection handlers should be displayed where the text selection actually starts and ends in the document.

Platform
Android

@jellynoone jellynoone added the type_bug Something isn't working label Apr 12, 2024
@matthew-carroll matthew-carroll added area_supereditor Pertains to SuperEditor bounty_junior f:superlist Funded by Superlist time:2 labels Apr 14, 2024
quaaantumdev pushed a commit to quaaantumdev/super_editor that referenced this issue May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area_supereditor Pertains to SuperEditor bounty_junior f:superlist Funded by Superlist time:2 type_bug Something isn't working
Projects
None yet
3 participants