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

Selected text resets when expanding selection past end of post #58568

Closed
jeryj opened this issue Feb 1, 2024 · 1 comment
Closed

Selected text resets when expanding selection past end of post #58568

jeryj opened this issue Feb 1, 2024 · 1 comment
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Bug An existing feature does not function as intended

Comments

@jeryj
Copy link
Contributor

jeryj commented Feb 1, 2024

Description

When selecting text in the last paragraph past the end of the content, then back into the last paragraph, the selection will reset to the selection point when the cursor left the paragraph initially.

Step-by-step reproduction instructions

  1. Have a paragraph as the final block in the post editor
  2. Select part of the last line
  3. Move the cursor straight down the page
  4. Move back into the paragraph at a different spot on the last line
  5. Release the mouse
  6. Selection will be the same as in step 2

Screenshots, screen recording, code snippet

Screen.Recording.2024-02-01.at.9.16.15.AM.mov

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@jeryj jeryj added [Type] Bug An existing feature does not function as intended [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... labels Feb 1, 2024
@jeryj
Copy link
Contributor Author

jeryj commented Feb 5, 2024

Fixed by #58684

@jeryj jeryj closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

1 participant