[GH-ISSUE #6109] [Bug] Context menu stays open when switching to another tab #2709

Closed
opened 2026-03-23 21:24:35 +00:00 by mirror · 1 comment
Owner

Originally created by @emmggi on GitHub (Aug 29, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6109

Bug Description

When you highlight text on a page and switch to a new page using tabs, the context menu stays open.

How to Reproduce

  1. Highlight something on a page.
  2. Switch to another tab.

Expected Behavior

It should close itself when switching to a new tab and maybe be open again when we switch back.

Operating System

Linux

AppFlowy Version(s)

v0.6.7

Screenshots

Screencast from 2024-08-23 11-07-29.webm

Additional Context

No response

Originally created by @emmggi on GitHub (Aug 29, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6109 ### Bug Description When you highlight text on a page and switch to a new page using tabs, the context menu stays open. ### How to Reproduce 1. Highlight something on a page. 2. Switch to another tab. ### Expected Behavior It should close itself when switching to a new tab and maybe be open again when we switch back. ### Operating System Linux ### AppFlowy Version(s) v0.6.7 ### Screenshots [Screencast from 2024-08-23 11-07-29.webm](https://github.com/user-attachments/assets/34883be4-7a56-4563-9613-5e0ddf4be880) ### Additional Context _No response_
Author
Owner

@Xazin commented on GitHub (Aug 30, 2024):

For now I've just made the document lose focus, as that's what we have support for currently. I think in the future we can expand the solution to retain the selection if any, and as you mention, open the menu again when returning.

<!-- gh-comment-id:2320251580 --> @Xazin commented on GitHub (Aug 30, 2024): For now I've just made the document lose focus, as that's what we have support for currently. I think in the future we can expand the solution to retain the selection if any, and as you mention, open the menu again when returning.
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#2709
No description provided.