-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
Pressing "Delete" key backwards the page after page is reloaded #836
Comments
Can you give a simplest example app that can show this problem? And which OS were you using? |
Hi, Here a quick example: download I'm on OSX 10.9.5 |
zcbenz
changed the title
WebContents.reload() & key:delete
Pressing "Delete" key backwards the page after page is reloaded
Nov 21, 2014
I can confirm this, before it is fixed you can capture the |
@zcbenz how do you recommend capturing the input? In my testing after a reload has occurred my keyup listener is no longer invoked when pressing the back key. |
This was referenced Nov 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm creating a new window with a listener on the event
beforeunload
.Before any calls to
WebContents.reload()
, if I pressed the keydelete
, nothing happens.After a
WebContents.reload()
, any press ondelete
will generate the eventbeforeunload
like it tries to go back in the history navigation.Without canceling the event
beforeunload
, the page will reload...Thx
The text was updated successfully, but these errors were encountered: