emilk / emilk/egui

Modals: keyboard events and mouse wheel events are not captured by a modal

Open
#5,607 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

First of all, thanks for introducing modal windows, it's a really good addition.

The problem I noticed is passing keyboard events (I checked arrow up/down) and mouse wheel to widgets that are dimmed out, that's below a model window. Is it a matter of order in which widgets are created and input handled?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reproducing the issue with a modal open, checking arrow up/down and mouse-wheel input, then trace how modal and dimmed-widget input are handled. Done means keyboard and wheel events no longer reach widgets behind the modal while the modal is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.