[GH-ISSUE #6462] [Bug] the selection in the editor was resumed after switching from another app, even if the previous selection was null. #2847

Closed
opened 2026-03-23 21:25:38 +00:00 by mirror · 0 comments
Owner

Originally created by @LucasXu0 on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6462

Originally assigned to: @Xazin on GitHub.

Bug Description

the selection in the editor was resumed after switching from another app, even if the previous selection was null.

How to Reproduce

  1. Open a page.
  2. Select some text and tap the empty area to cancel the selection.
  3. Switch to another app.
  4. Switch back.

Expected Behavior

The selection should not be resumed if the previous selection is null.

Operating System

Desktop

AppFlowy Version(s)

0.7.1

Screenshots

No response

Additional Context

I guess it's introduced in this PR. https://github.com/AppFlowy-IO/AppFlowy/pull/6455

Originally created by @LucasXu0 on GitHub (Oct 3, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6462 Originally assigned to: @Xazin on GitHub. ### Bug Description the selection in the editor was resumed after switching from another app, even if the previous selection was null. ### How to Reproduce 1. Open a page. 2. Select some text and tap the empty area to cancel the selection. 3. Switch to another app. 4. Switch back. ### Expected Behavior The selection should not be resumed if the previous selection is null. ### Operating System Desktop ### AppFlowy Version(s) 0.7.1 ### Screenshots _No response_ ### Additional Context I guess it's introduced in this PR. https://github.com/AppFlowy-IO/AppFlowy/pull/6455
mirror 2026-03-23 21:25:38 +00:00
  • closed this issue
  • added the
    v0.7.1
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2847
No description provided.