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

NW2: window blur event does not execute multiple event listeners #7488

Closed
bastimeyer opened this issue May 24, 2020 · 1 comment
Closed

NW2: window blur event does not execute multiple event listeners #7488

bastimeyer opened this issue May 24, 2020 · 1 comment
Assignees

Comments

@bastimeyer
Copy link

bastimeyer commented May 24, 2020

NWJS Version: tested with 0.45.5 and 0.46.0
Operating System: Arch Linux with KDE Plasma

Description

The window blur event on the new NW2 implementation has already received a bugfix in #7327, but when adding multiple event listeners, all listeners except the first one get ignored.

When disabling NW2 in the chromium-args field, the issue does not occur.

How to reproduce

See my bug demonstration here:
https://github.com/bastimeyer/nwjs-blur-event-bug

In the dev-tools console you'll see that only "blur 1" gets logged, whereas the focus event works as expected and logs "focus 1" and "focus 2".

@rogerwang rogerwang self-assigned this Jun 6, 2020
@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

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

No branches or pull requests

2 participants