# \[UE 5.4\] Editor Utility Widget (Docked) - Web Browser Input Focus Immediately Stolen by Viewport 

**URL:** <https://forums.unrealengine.com/t/ue-5-4-editor-utility-widget-docked-web-browser-input-focus-immediately-stolen-by-viewport/2682180>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [December 5, 2025, 12:10am UTC](https://forums.unrealengine.com/t/ue-5-4-editor-utility-widget-docked-web-browser-input-focus-immediately-stolen-by-viewport/2682180 "2025-12-05T00:10:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarem.wdave01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sarem.wdave01](https://forums.unrealengine.com/u/Sarem.wdave01)\
**Post date:** [December 5, 2025, 12:10am UTC](https://forums.unrealengine.com/t/ue-5-4-editor-utility-widget-docked-web-browser-input-focus-immediately-stolen-by-viewport/2682180/1 "2025-12-05T00:10:30Z")

</div>

Hi everyone,

I am building an Editor Utility Widget (EUW) in **Unreal Engine 5.4** that hosts a **Web Browser** widget (pointing to a local server).

I am running into a persistent input focus issue that **only occurs when the widget is docked** in the editor layout (e.g., docked next to the World Outliner).

**The Issue:**

1. **Floating Window:** When the EUW is floating (undocked), everything works perfectly. I can click HTML inputs, type, and keys are consumed by the browser.

2. **Docked Window:** When docked, the Level Editor Viewport aggressively steals focus back from the Web Browser.

**What I have verified / tried so far:**

- **Widget Settings:** `Is Focusable` is checked on the Root container (`EUW_WebContainer)`. `Visibility` is set to “Not Hit-Testable (Self Only)“.

- **Forcing Focus:** I attempted to force focus using `Set Keyboard Focus` on the Browser variable via `OnPreviewMouseButtonDown` and `OnMouseEnter`.

- **Delays:** I tried adding a `Delay` (and `Delay Until Next Tick`) before setting focus.

- **Input Modes:** I attempted to use `Set Input Mode UI Only`.

**Question:** Since `SetInputMode` relies on a PlayerController (which doesn’t exist for Editor tools), how do we enforce a **Hard Focus Lock** on a docked Editor Utility Widget?

It seems the Slate application is prioritizing the Level Editor context over the docked widget. Is there a C++ workaround or a specific Slate setup required to prevent the Viewport from consuming raw key inputs when a Web Browser widget is focused?

Any help would be appreciated!
