diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index f3c90da44..f9b4a6f2a 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -512,6 +512,7 @@ func (u *UserInterface) init() error { canvasStyle.Set("height", "100%") canvasStyle.Set("margin", "0") canvasStyle.Set("padding", "0") + canvasStyle.Set("display", "block") // Make the canvas focusable. canvas.Call("setAttribute", "tabindex", 1)