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

fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once #256

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

eymar
Copy link
Collaborator

@eymar eymar commented Jul 20, 2022

fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once on ESC keyDown

It used to invoke it twice: on KeyDown and then on KeyUp

@eymar
Copy link
Collaborator Author

eymar commented Jul 20, 2022

I plan to add some tests for onDismissRequest callback and ESC after #255 is merged

Oleksandr Karpovich added 2 commits July 20, 2022 15:28
…e on ESC keyDown

It used to invoke it twice: on KeyDown and then on KeyUp
@eymar eymar merged commit 8b71e2c into jb-main Jul 20, 2022
@eymar eymar deleted the fix_dismiss_popup_on_esc branch July 20, 2022 13:40
igordmn pushed a commit that referenced this pull request Aug 18, 2022
#256)

* fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once on ESC keyDown

It used to invoke it twice: on KeyDown and then on KeyUp

* add tests

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
igordmn pushed a commit that referenced this pull request Aug 18, 2022
#256)

* fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once on ESC keyDown

It used to invoke it twice: on KeyDown and then on KeyUp

* add tests

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
eymar added a commit that referenced this pull request Oct 26, 2022
#256)

* fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once on ESC keyDown

It used to invoke it twice: on KeyDown and then on KeyUp

* add tests

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
eymar added a commit that referenced this pull request Nov 16, 2022
#256)

* fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once on ESC keyDown

It used to invoke it twice: on KeyDown and then on KeyUp

* add tests

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
eymar added a commit that referenced this pull request Jan 13, 2023
#256)

* fix DesktopMenu and DesktopAlertDialog to invoke dismiss callback once on ESC keyDown

It used to invoke it twice: on KeyDown and then on KeyUp

* add tests

Co-authored-by: Oleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants