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

click and other mouse events on a BrowserView are ignored if the BrowserView is on top of a draggable region #28057

Open
3 tasks done
devinbinnie opened this issue Mar 8, 2021 · 17 comments
Labels
10-x-y 11-x-y has-repro-repo Issue can be reproduced by cloning a git repo

Comments

@devinbinnie
Copy link

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • 11.3.0
  • Operating System:
    • Windows 10 20H2
  • Last Known Working Electron version:
    • Not sure, have tried Electron 10.3.1 with the same result

Expected Behavior

Buttons on a BrowserView rendered on top of a draggable region with the -webkit-app-region: no-drag style applied should be clickable and hoverable.

Actual Behavior

Buttons on a BrowserView rendered on top of a draggable region are not clickable or hoverable.

To Reproduce

See branch here: https://github.com/devinbinnie/electron-quick-start/tree/browserview_click_issue

Screenshots

Hello World! 2021-03-08 17-33-22

Additional Information

Works correctly on macOS.

@pushkin-
Copy link

pushkin- commented Oct 5, 2021

Is this a dupe of this issue? Is this still broken in Electron 13+?

@devinbinnie
Copy link
Author

devinbinnie commented Oct 6, 2021

@pushkin- Yeah I can still reproduce this issue on Electron v14.1.0, unfortunately not a duplicate.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2022

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@github-actions github-actions bot added the stale label Oct 6, 2022
@pushkin-
Copy link

pushkin- commented Oct 7, 2022

repros in Electron 21

@github-actions github-actions bot removed the stale label Oct 8, 2022
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@github-actions github-actions bot added the stale label Jan 10, 2023
@pushkin-
Copy link

repros in v22

@github-actions github-actions bot removed the stale label Jan 13, 2023
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@github-actions github-actions bot added the stale label Apr 14, 2023
@pushkin-
Copy link

bump

@github-actions github-actions bot removed the stale label Apr 15, 2023
@cathykc
Copy link

cathykc commented May 9, 2023

We can reproduce this in Electron 24. @pushkin / @devinbinnie were y'all able to figure out a work around?

@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2023

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@github-actions github-actions bot added the stale label Aug 8, 2023
@pushkin-
Copy link

pushkin- commented Aug 9, 2023

Repros with v25.4.0. gist

@github-actions github-actions bot removed the stale label Aug 10, 2023
@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@pushkin-
Copy link

pushkin- commented Nov 9, 2023

repros in v27

@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@pushkin-
Copy link

pushkin- commented Feb 9, 2024

repros with v29-beta8

@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@pushkin-
Copy link

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10-x-y 11-x-y has-repro-repo Issue can be reproduced by cloning a git repo
Projects
None yet
Development

No branches or pull requests

4 participants