Widget not working in custom FEditorViewportClient

I performed the following steps to create a texture UV editor:

  1. created a custom FEditorViewportClient
  2. set an orthographic camera: FEditorViewportClient::SetViewportType(ELevelViewportType.LVT_OrthoXY)
  3. created an actor in the corresponding world and selected it
  4. set the widget mode to translate: SetWidgetMode(EJavascriptWidgetMode.WM_Translate)

The problem is that the widget is rendered, but it does not move when I drag it. Why is the widget not responding?

could you please tell me , how you created custom FEditorViewportClient ?