From c5bfb3f2be4da4682ed06bc763c2dc90fb90f399 Mon Sep 17 00:00:00 2001 From: JesmoDev <26099018+JesmoDev@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:47:41 +0200 Subject: [PATCH] fix keyboard navigation for trash button --- .../design/content-type-design-editor-property.element.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts index 8043d51cf9..f080a295e8 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/content-type/workspace/views/design/content-type-design-editor-property.element.ts @@ -484,11 +484,13 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement { position: absolute; top: var(--uui-size-space-2); right: var(--uui-size-space-2); - display: none; + opacity: 0; } + #editor:hover uui-action-bar, - #editor:focus uui-action-bar { - display: block; + #editor:focus uui-action-bar, + #editor:focus-within uui-action-bar { + opacity: 1; } a {