Skip to content

Conversation

@benjaminfrueh
Copy link
Contributor

Problem

When scrolling or zooming inside an embedded element, the wheel events would propagate to the parent, causing both the embed and the parent to zoom/pan simultaneously.

Solution

Attached wheel event listeners to each embed container that call stopPropagation() to prevent events propagating to the parent.

@benjaminfrueh benjaminfrueh added the bug Something isn't working label Dec 18, 2025
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Dec 18, 2025
@benjaminfrueh benjaminfrueh moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Office team Dec 18, 2025
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
@hweihwang hweihwang force-pushed the fix/embed-wheel-propagation branch from 1040c89 to d8d1586 Compare December 24, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

2 participants