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

wants_pointer_input() returns false when mouse is above the menu bar #2606

Open
zdimension opened this issue Jan 18, 2023 · 1 comment
Open
Labels
bug Something is broken

Comments

@zdimension
Copy link

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. Hover mouse above menu bar
  2. wants_pointer_input() is false

Expected behavior
wants_pointer_input() is true

Desktop (please complete the following information):

  • OS: Windows
@zdimension zdimension added the bug Something is broken label Jan 18, 2023
@SK83RJOSH
Copy link

I've recently run into this issue (sort of) in combination with bevy_egui when trying to make a model editor based on the egui demo lib. I created a repro demonstrating the issue here where it became evident that wants_pointer_input actually does return true when the mouse is above a panel, but not on mouse down. So I'm not really sure how to proceed.

Sorry for the ping @emilk, but what is the intended behavior here? It really feels like panels should continue blocking pointer input even which clicked/dragged. While in the dragging state you can't interact with any other elements until released anyway. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants