Skip to content

WindowEvent { Focused } occurs after WindowEvent { MouseInput { Pressed } } on web backend #2112

@rukai

Description

@rukai

Heres a screenshot from running the web.rs example
image

The other backends return the window focus first and my application and https://github.com/rukai/winit_input_helper rely on this functionality.
The current handling in the web backend causes the first mouse click event to be lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B - bugDang, that shouldn't have happenedC - needs investigationIssue must be confirmed and researchedDS - webAffects the Web backend (WebAssembly/WASM)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions