8000 eframe web: only cosume copy/cut events if the canvas has focus by emilk · Pull Request #7270 · emilk/egui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

eframe web: only cosume copy/cut events if the canvas has focus #7270

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

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

emilk
Copy link
Owner
@emilk emilk commented Jun 27, 2025

Previously eframe would "steal" these events (by calling stop_propagation/prevent_default) even when the eframe canvas did not have focus.

@emilk emilk added bug Something is broken web Related to running Egui on the web eframe Relates to epi and eframe labels Jun 27, 2025
Copy link

Preview available at https://egui-pr-preview.github.io/pr/7270-emilkfix-copy-paste-cut-propagation
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk emilk merged commit ae8363d into main Jun 27, 2025
50 checks passed
@emilk emilk deleted the emilk/fix-copy-paste-cut-propagation branch June 27, 2025 08:25
emilk added a commit to rerun-io/rerun that referenced this pull request Jun 27, 2025
Update eframe with the following fix:
* emilk/egui#7270

This should fix the bug where it was sometimes impossible to copy/cut
text from other notebook cells when there was a Rerun Viewer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken eframe Relates to epi and eframe web Related to running Egui on the web
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0