[GH-ISSUE #4259] [Bug] Cannot exit import window by pressing escape #1899

Closed
opened 2026-03-23 21:18:04 +00:00 by mirror · 10 comments
Owner

Originally created by @PeterHero on GitHub (Dec 30, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4259

Originally assigned to: @Xazin on GitHub.

Bug Description

I like to close pop up windows by pressing escape. I would expect all windows to support this. I found that the import window does not support this. Not sure if it is a bug.

How to Reproduce

  1. Hover over a page in the left bar
  2. Click +
  3. Click import
  4. Windows opens up
  5. Pressing escape does nothing

Expected Behavior

The window is expected to close after pressing escape.

Operating System

Linux (arch)

AppFlowy Version(s)

0.3.9

Screenshots

No response

Additional Context

No response

Originally created by @PeterHero on GitHub (Dec 30, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4259 Originally assigned to: @Xazin on GitHub. ### Bug Description I like to close pop up windows by pressing escape. I would expect all windows to support this. I found that the import window does not support this. Not sure if it is a bug. ### How to Reproduce 1. Hover over a page in the left bar 2. Click + 3. Click import 4. Windows opens up 5. Pressing escape does nothing ### Expected Behavior The window is expected to close after pressing escape. ### Operating System Linux (arch) ### AppFlowy Version(s) 0.3.9 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@Smit56R commented on GitHub (Jan 2, 2024):

Hey! I am a first-time contributor here. If this is a Flutter issue, can this be assigned to me?

<!-- gh-comment-id:1874008879 --> @Smit56R commented on GitHub (Jan 2, 2024): Hey! I am a first-time contributor here. If this is a Flutter issue, can this be assigned to me?
Author
Owner

@annieappflowy commented on GitHub (Jan 2, 2024):

Assigned. Thanks, @Smit56R , for offering the help.

<!-- gh-comment-id:1874444159 --> @annieappflowy commented on GitHub (Jan 2, 2024): Assigned. Thanks, @Smit56R , for offering the help.
Author
Owner

@ekakshjanweja commented on GitHub (Feb 9, 2024):

Hey @Smit56R,
Are you still working on this?

<!-- gh-comment-id:1936579666 --> @ekakshjanweja commented on GitHub (Feb 9, 2024): Hey @Smit56R, Are you still working on this?
Author
Owner

@Smit56R commented on GitHub (Feb 10, 2024):

Hi @ekakshjanweja. My builds were failing so I have worked on the issue for a while. Sorry to not inform it sooner.

<!-- gh-comment-id:1936815488 --> @Smit56R commented on GitHub (Feb 10, 2024): Hi @ekakshjanweja. My builds were failing so I have worked on the issue for a while. Sorry to not inform it sooner.
Author
Owner

@vishwa-0-karthik commented on GitHub (Apr 3, 2024):

Hey, is this issue still open? I just reproduced this issue, and I might know a way of solving it. Can I send a PR?

<!-- gh-comment-id:2035695090 --> @vishwa-0-karthik commented on GitHub (Apr 3, 2024): Hey, is this issue still open? I just reproduced this issue, and I might know a way of solving it. Can I send a PR?
Author
Owner

@annieappflowy commented on GitHub (Apr 4, 2024):

Feel free to send a PR @vkuasar0

<!-- gh-comment-id:2035956387 --> @annieappflowy commented on GitHub (Apr 4, 2024): Feel free to send a PR @vkuasar0
Author
Owner

@Xazin commented on GitHub (Apr 4, 2024):

Hey, is this issue still open? I just reproduced this issue, and I might know a way of solving it. Can I send a PR?

Hey Vkuasar, you can follow other examples in our application, we use a Listener (Most of the time a KeyboardListener), to pop the dialog when Escape is pressed (remember to only check for KeyDownEvent's).

<!-- gh-comment-id:2036335936 --> @Xazin commented on GitHub (Apr 4, 2024): > Hey, is this issue still open? I just reproduced this issue, and I might know a way of solving it. Can I send a PR? Hey Vkuasar, you can follow other examples in our application, we use a Listener (Most of the time a KeyboardListener), to pop the dialog when Escape is pressed (remember to only check for KeyDownEvent's).
Author
Owner

@vishwa-0-karthik commented on GitHub (Apr 4, 2024):

Hey, I'm a first time contributor, so I'm a little confused. Do I have to add a video in the pull request description?
PS: I used KeyboardListener, and also checked for KeyDownEvent

<!-- gh-comment-id:2036901928 --> @vishwa-0-karthik commented on GitHub (Apr 4, 2024): Hey, I'm a first time contributor, so I'm a little confused. Do I have to add a video in the pull request description? PS: I used KeyboardListener, and also checked for KeyDownEvent
Author
Owner

@Xazin commented on GitHub (Apr 4, 2024):

Hey, I'm a first time contributor, so I'm a little confused. Do I have to add a video in the pull request description? PS: I used KeyboardListener, and also checked for KeyDownEvent

It's not required to add a preview.

<!-- gh-comment-id:2036916243 --> @Xazin commented on GitHub (Apr 4, 2024): > Hey, I'm a first time contributor, so I'm a little confused. Do I have to add a video in the pull request description? PS: I used KeyboardListener, and also checked for KeyDownEvent It's not required to add a preview.
Author
Owner

@vishwa-0-karthik commented on GitHub (Apr 4, 2024):

Yep, done sending PR

<!-- gh-comment-id:2036953885 --> @vishwa-0-karthik commented on GitHub (Apr 4, 2024): Yep, done sending PR
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#1899
No description provided.