Navigation Menu

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

feat: implement will-move event on macOS #19641

Merged
merged 6 commits into from Aug 20, 2019
Merged

Conversation

erickzhao
Copy link
Member

@erickzhao erickzhao commented Aug 6, 2019

Description of Change

Fixes #19613.

Implements the will-move event for BrowserWindow on macOS. However, due to limitations in AppKit, I have yet to find a solution that will properly implement event.preventDefault().

Checklist

Release Notes

Notes: Implemented 'will-move' event on BrowserWindow on macOS.

@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Aug 6, 2019
@erickzhao erickzhao changed the title [WIP] feat: implement will-move event on macOS feat: implement will-move event on macOS Aug 13, 2019
@erickzhao erickzhao marked this pull request as ready for review August 13, 2019 20:37
Copy link
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM given that we can't programmatically test for this, unfortunately.

Copy link
Contributor

@miniak miniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to do the same here as in #19639

@erickzhao erickzhao requested a review from miniak August 16, 2019 18:02
@codebytere codebytere merged commit 145b4fa into master Aug 20, 2019
@release-clerk
Copy link

release-clerk bot commented Aug 20, 2019

Release Notes Persisted

Implemented 'will-move' event on BrowserWindow on macOS.

@codebytere codebytere deleted the intern/will-move-mac branch August 20, 2019 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement BrowserWindow "will-move" for mac
3 participants