Skip to content

[WASM] Mouse click events blocked near text cursor (Dead zone caused by hidden browser elements) #8272

Description

@rustbasic

[WASM] Mouse click events blocked near text cursor (Dead zone caused by hidden browser elements)

egui version : main and All

On WASM, when clicking near the text cursor, mouse click events are not triggered.
This bug occurs because the mouse clicks are intercepted by hidden browser elements, preventing them from reaching the egui canvas and creating a "dead zone" for user interaction.

Note that this symptom does not occur with the text cursor placed between English characters; it only occurs when the text cursor is positioned between non-English characters, such as Korean.

Below shows a state where the mouse is being clicked continuously at least once per second.
You can observe that after the 5-second mark, mouse click events fail to trigger (are no longer registered).

ezChat.-.Chrome.2026-06-28.15-36-14.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions