Skip to content

Conversation

@miniak
Copy link
Contributor

@miniak miniak commented Aug 18, 2019

Description of Change

Fixes #19194

Checklist

Release Notes

Notes: window.close() does no longer close the window when called in BrowserView.

@PalmerAL
Copy link
Contributor

@miniak With this change, will it be possible to listen for a close event somewhere in order to remove the view from the window? There's a close event documented for webview, but I don't see anything similar for webContents or BrowserView.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Aug 19, 2019
@miniak miniak closed this Sep 11, 2019
@miniak miniak reopened this Oct 26, 2019
@miniak miniak force-pushed the miniak/fix-window-close branch from 0fbd478 to 4d9d042 Compare October 26, 2019 11:21
@miniak miniak closed this Nov 4, 2019
@miniak miniak deleted the miniak/fix-window-close branch November 4, 2019 23:41
@sentialx
Copy link
Contributor

@miniak What happened with this PR?

@miniak
Copy link
Contributor Author

miniak commented Dec 7, 2019

@sentialx I am going to revive it

@miniak miniak restored the miniak/fix-window-close branch December 12, 2019 21:42
@miniak miniak reopened this Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use window.close in Browserview-webcontents(web page) will close the app!!!!!!!

4 participants