WebView2 export loses keyboard input after Alt+Tab until mouse click

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Click! Click! 136 click sounds for your video games or media projects
  • I’m seeing a consistent keyboard focus issue with **Construct 3 → WebView2 export**.

    **Reproduce:**

    1. Launch the WebView2 build.

    2. Keyboard input works normally.

    3. Click outside the app window *or* Alt+Tab to another window.

    4. Alt+Tab back to the app.

    **Result:**

    The app regains window focus, but **keyboard input no longer works** until the user clicks inside the game window with the mouse.

    **Expected:**

    Keyboard input should resume automatically when the app regains focus via Alt+Tab.

    This does not appear to be an event-sheet issue. It feels like the embedded WebView2 content isn’t regaining keyboard/DOM focus when the window is re-activated, so Construct never re-enables keyboard input.

    **Questions:**

    * Is this a known limitation/bug of the WebView2 export?

    * Is there a recommended workaround (forcing focus back to the WebView, JS injection, or template change)?

    * Has anyone found a reliable fix without requiring a mouse click?

    Tested on latest C3 stable + latest WebView2 runtime.

    Thanks

  • It will be fixed in the next beta.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks rozpustelnik! I found your bug report, thanks for doing that. Been having this issue for years but it's only now becoming an issue for my players.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)